This commit is contained in:
2024-11-15 00:53:22 +01:00
parent 05166859a3
commit ff2669d079
2 changed files with 4 additions and 3 deletions
+3 -1
View File
@@ -101,13 +101,15 @@ class Events(commands.Cog):
if message.channel.id == 1111625221171052595:
return
if isinstance(message.channel, discord.DMChannel):
self.logger.info(message.author.id)
for superfryta in SPECJALNE_ZIEMNIACZKI:
self.logger.info(superfryta[0])
if message.author.id == superfryta[0]:
await self.bot.process_commands(message)
await ai_functions.chat_with_assistant(message, superfryta[1])
return
channel = self.bot.get_channel(1064888712565100614)
await channel.send("Słyszałem ja żem że: " + message.content)
#await channel.send("Słyszałem ja żem że: " + message.content)
return
channel = message.channel
# await self.bot.process_commands(message) #uncomment to bilocate
+1 -2
View File
@@ -17,8 +17,7 @@ from constants import (
OPENAICLIENT,
WORD_REACTIONS,
ASSISTANTS,
SYSTEM_GPT_SETTINGS,
SPECJALNE_ZIEMNIACZKI
SYSTEM_GPT_SETTINGS
)