diff options
Diffstat (limited to '')
| -rw-r--r-- | cogs/ai.py | 9 |
1 files changed, 7 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 | { |
