diff options
| author | salmonik <raisersoft@proton.me> | 2026-01-26 16:50:19 +0100 |
|---|---|---|
| committer | salmonik <raisersoft@proton.me> | 2026-01-26 16:50:19 +0100 |
| commit | ae17fe28640eb25b31172122006b8b55eea4ef0d (patch) | |
| tree | 5bb933d0a9a40ca6ebabf82ab5db6bfbdd4cd813 | |
| parent | WIP context for jarvis via replies (diff) | |
| download | senator-sperma-ae17fe28640eb25b31172122006b8b55eea4ef0d.tar.gz senator-sperma-ae17fe28640eb25b31172122006b8b55eea4ef0d.zip | |
add copyright and license notice
| -rw-r--r-- | cogs/ai.py | 9 | ||||
| -rw-r--r-- | cogs/compression.py | 5 | ||||
| -rw-r--r-- | cogs/conversion.py | 5 | ||||
| -rw-r--r-- | cogs/downloader.py | 5 | ||||
| -rw-r--r-- | cogs/jarvis.py | 5 | ||||
| -rw-r--r-- | cogs/math.py | 5 | ||||
| -rw-r--r-- | cogs/music/join.py | 5 | ||||
| -rw-r--r-- | cogs/music/loop.py | 5 | ||||
| -rw-r--r-- | cogs/music/play.py | 5 | ||||
| -rw-r--r-- | cogs/music/play_utils.py | 5 | ||||
| -rw-r--r-- | cogs/music/stop.py | 5 | ||||
| -rw-r--r-- | cogs/say.py | 5 | ||||
| -rw-r--r-- | cogs/tts.py | 5 | ||||
| -rw-r--r-- | cogs/vclogs.py | 5 | ||||
| -rw-r--r-- | cogs/voice.py | 5 | ||||
| -rw-r--r-- | cogs/web.py | 5 | ||||
| -rw-r--r-- | main.py | 5 |
17 files changed, 87 insertions, 2 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | # This file is part of Senator Sperma | ||
| 2 | # Licensed under the GPL-3.0 License | ||
| 3 | # Copyright (C) 2026 Salmonik @ salmonik@tuta.io | ||
| 4 | # https://codeberg.org/salmonik/senator-sperma | ||
| 5 | |||
| 1 | import os | 6 | import os |
| 2 | import discord | 7 | import discord |
| 3 | from discord.ext import commands | 8 | from discord.ext import commands |
| @@ -6,8 +11,8 @@ import requests | |||
| 6 | from gtts import gTTS | 11 | from gtts import gTTS |
| 7 | from cogs.music.play_utils import PlayUtils | 12 | from cogs.music.play_utils import PlayUtils |
| 8 | import io | 13 | import io |
| 9 | logger = logging.getLogger(__name__) | ||
| 10 | 14 | ||
| 15 | logger = logging.getLogger(__name__) | ||
| 11 | 16 | ||
| 12 | class AI(commands.Cog): | 17 | class AI(commands.Cog): |
| 13 | def __init__(self, bot): | 18 | def __init__(self, bot): |
| @@ -37,7 +42,7 @@ class AI(commands.Cog): | |||
| 37 | { | 42 | { |
| 38 | "role": "system", | 43 | "role": "system", |
| 39 | "content": "You are Senator Steaven Sperma Armstrong from Metal Gear Rising Vengeance. \ | 44 | "content": "You are Senator Steaven Sperma Armstrong from Metal Gear Rising Vengeance. \ |
| 40 | You are racist and you hate other minorities. Respond in plain text, no ** or "". \ | 45 | You are racist and you hate other minorities. Respond in plain text, no markdown tricks. \ |
| 41 | If the message is in Polish, respond in Polish. Respond in 100 words." | 46 | If the message is in Polish, respond in Polish. Respond in 100 words." |
| 42 | }, | 47 | }, |
| 43 | { | 48 | { |
diff --git a/cogs/compression.py b/cogs/compression.py index 79f79a0..d235c6d 100644 --- a/cogs/compression.py +++ b/cogs/compression.py | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | # This file is part of Senator Sperma | ||
| 2 | # Licensed under the GPL-3.0 License | ||
| 3 | # Copyright (C) 2026 Salmonik @ salmonik@tuta.io | ||
| 4 | # https://codeberg.org/salmonik/senator-sperma | ||
| 5 | |||
| 1 | import mimetypes | 6 | import mimetypes |
| 2 | import os | 7 | import os |
| 3 | import subprocess | 8 | import subprocess |
diff --git a/cogs/conversion.py b/cogs/conversion.py index 6566ece..11f4f1b 100644 --- a/cogs/conversion.py +++ b/cogs/conversion.py | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | # This file is part of Senator Sperma | ||
| 2 | # Licensed under the GPL-3.0 License | ||
| 3 | # Copyright (C) 2026 Salmonik @ salmonik@tuta.io | ||
| 4 | # https://codeberg.org/salmonik/senator-sperma | ||
| 5 | |||
| 1 | import discord | 6 | import discord |
| 2 | import requests | 7 | import requests |
| 3 | from discord.ext import commands | 8 | from discord.ext import commands |
diff --git a/cogs/downloader.py b/cogs/downloader.py index a2e2299..a1fdbbe 100644 --- a/cogs/downloader.py +++ b/cogs/downloader.py | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | # This file is part of Senator Sperma | ||
| 2 | # Licensed under the GPL-3.0 License | ||
| 3 | # Copyright (C) 2026 Salmonik @ salmonik@tuta.io | ||
| 4 | # https://codeberg.org/salmonik/senator-sperma | ||
| 5 | |||
| 1 | import os | 6 | import os |
| 2 | import tempfile | 7 | import tempfile |
| 3 | import logging | 8 | import logging |
diff --git a/cogs/jarvis.py b/cogs/jarvis.py index c94ab7c..3763ee7 100644 --- a/cogs/jarvis.py +++ b/cogs/jarvis.py | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | # This file is part of Senator Sperma | ||
| 2 | # Licensed under the GPL-3.0 License | ||
| 3 | # Copyright (C) 2026 Salmonik @ salmonik@tuta.io | ||
| 4 | # https://codeberg.org/salmonik/senator-sperma | ||
| 5 | |||
| 1 | import re | 6 | import re |
| 2 | import discord | 7 | import discord |
| 3 | from discord.ext import commands | 8 | from discord.ext import commands |
diff --git a/cogs/math.py b/cogs/math.py index 8a2644c..4bd62a0 100644 --- a/cogs/math.py +++ b/cogs/math.py | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | # This file is part of Senator Sperma | ||
| 2 | # Licensed under the GPL-3.0 License | ||
| 3 | # Copyright (C) 2026 Salmonik @ salmonik@tuta.io | ||
| 4 | # https://codeberg.org/salmonik/senator-sperma | ||
| 5 | |||
| 1 | import logging | 6 | import logging |
| 2 | import subprocess | 7 | import subprocess |
| 3 | 8 | ||
diff --git a/cogs/music/join.py b/cogs/music/join.py index a68282c..a12b842 100644 --- a/cogs/music/join.py +++ b/cogs/music/join.py | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | # This file is part of Senator Sperma | ||
| 2 | # Licensed under the GPL-3.0 License | ||
| 3 | # Copyright (C) 2026 Salmonik @ salmonik@tuta.io | ||
| 4 | # https://codeberg.org/salmonik/senator-sperma | ||
| 5 | |||
| 1 | from discord.ext import commands | 6 | from discord.ext import commands |
| 2 | 7 | ||
| 3 | import logging | 8 | import logging |
diff --git a/cogs/music/loop.py b/cogs/music/loop.py index 77f87b7..34fc04c 100644 --- a/cogs/music/loop.py +++ b/cogs/music/loop.py | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | # This file is part of Senator Sperma | ||
| 2 | # Licensed under the GPL-3.0 License | ||
| 3 | # Copyright (C) 2026 Salmonik @ salmonik@tuta.io | ||
| 4 | # https://codeberg.org/salmonik/senator-sperma | ||
| 5 | |||
| 1 | from discord.ext import commands | 6 | from discord.ext import commands |
| 2 | import logging | 7 | import logging |
| 3 | 8 | ||
diff --git a/cogs/music/play.py b/cogs/music/play.py index d77d772..c7dd9f1 100644 --- a/cogs/music/play.py +++ b/cogs/music/play.py | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | # This file is part of Senator Sperma | ||
| 2 | # Licensed under the GPL-3.0 License | ||
| 3 | # Copyright (C) 2026 Salmonik @ salmonik@tuta.io | ||
| 4 | # https://codeberg.org/salmonik/senator-sperma | ||
| 5 | |||
| 1 | import os | 6 | import os |
| 2 | import discord | 7 | import discord |
| 3 | import mutagen | 8 | import mutagen |
diff --git a/cogs/music/play_utils.py b/cogs/music/play_utils.py index 044bd1d..ed98395 100644 --- a/cogs/music/play_utils.py +++ b/cogs/music/play_utils.py | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | # This file is part of Senator Sperma | ||
| 2 | # Licensed under the GPL-3.0 License | ||
| 3 | # Copyright (C) 2026 Salmonik @ salmonik@tuta.io | ||
| 4 | # https://codeberg.org/salmonik/senator-sperma | ||
| 5 | |||
| 1 | import json | 6 | import json |
| 2 | import logging | 7 | import logging |
| 3 | import math | 8 | import math |
diff --git a/cogs/music/stop.py b/cogs/music/stop.py index e04370e..f06e7f5 100644 --- a/cogs/music/stop.py +++ b/cogs/music/stop.py | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | # This file is part of Senator Sperma | ||
| 2 | # Licensed under the GPL-3.0 License | ||
| 3 | # Copyright (C) 2026 Salmonik @ salmonik@tuta.io | ||
| 4 | # https://codeberg.org/salmonik/senator-sperma | ||
| 5 | |||
| 1 | from discord.ext import commands | 6 | from discord.ext import commands |
| 2 | 7 | ||
| 3 | import logging | 8 | import logging |
diff --git a/cogs/say.py b/cogs/say.py index 93f04f4..81811ba 100644 --- a/cogs/say.py +++ b/cogs/say.py | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | # This file is part of Senator Sperma | ||
| 2 | # Licensed under the GPL-3.0 License | ||
| 3 | # Copyright (C) 2026 Salmonik @ salmonik@tuta.io | ||
| 4 | # https://codeberg.org/salmonik/senator-sperma | ||
| 5 | |||
| 1 | from discord.ext import commands | 6 | from discord.ext import commands |
| 2 | import discord | 7 | import discord |
| 3 | import logging | 8 | import logging |
diff --git a/cogs/tts.py b/cogs/tts.py index 26cb715..3c2f9ce 100644 --- a/cogs/tts.py +++ b/cogs/tts.py | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | # This file is part of Senator Sperma | ||
| 2 | # Licensed under the GPL-3.0 License | ||
| 3 | # Copyright (C) 2026 Salmonik @ salmonik@tuta.io | ||
| 4 | # https://codeberg.org/salmonik/senator-sperma | ||
| 5 | |||
| 1 | import os | 6 | import os |
| 2 | import json | 7 | import json |
| 3 | import discord | 8 | import discord |
diff --git a/cogs/vclogs.py b/cogs/vclogs.py index 01297a6..40a618c 100644 --- a/cogs/vclogs.py +++ b/cogs/vclogs.py | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | # This file is part of Senator Sperma | ||
| 2 | # Licensed under the GPL-3.0 License | ||
| 3 | # Copyright (C) 2026 Salmonik @ salmonik@tuta.io | ||
| 4 | # https://codeberg.org/salmonik/senator-sperma | ||
| 5 | |||
| 1 | import datetime | 6 | import datetime |
| 2 | import json | 7 | import json |
| 3 | import logging | 8 | import logging |
diff --git a/cogs/voice.py b/cogs/voice.py index 600a7eb..261af49 100644 --- a/cogs/voice.py +++ b/cogs/voice.py | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | # This file is part of Senator Sperma | ||
| 2 | # Licensed under the GPL-3.0 License | ||
| 3 | # Copyright (C) 2026 Salmonik @ salmonik@tuta.io | ||
| 4 | # https://codeberg.org/salmonik/senator-sperma | ||
| 5 | |||
| 1 | import discord | 6 | import discord |
| 2 | from discord.ext import commands | 7 | from discord.ext import commands |
| 3 | import logging | 8 | import logging |
diff --git a/cogs/web.py b/cogs/web.py index 224df82..a9f8fbb 100644 --- a/cogs/web.py +++ b/cogs/web.py | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | # This file is part of Senator Sperma | ||
| 2 | # Licensed under the GPL-3.0 License | ||
| 3 | # Copyright (C) 2026 Salmonik @ salmonik@tuta.io | ||
| 4 | # https://codeberg.org/salmonik/senator-sperma | ||
| 5 | |||
| 1 | import discord | 6 | import discord |
| 2 | from discord import Embed | 7 | from discord import Embed |
| 3 | from discord.ext import commands | 8 | from discord.ext import commands |
| @@ -1,3 +1,8 @@ | |||
| 1 | # This file is part of Senator Sperma | ||
| 2 | # Licensed under the GPL-3.0 License | ||
| 3 | # Copyright (C) 2026 Salmonik @ salmonik@tuta.io | ||
| 4 | # https://codeberg.org/salmonik/senator-sperma | ||
| 5 | |||
| 1 | import logging | 6 | import logging |
| 2 | import os | 7 | import os |
| 3 | import sys | 8 | import sys |
