mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
fix
This commit is contained in:
+3
-1
@@ -101,13 +101,15 @@ class Events(commands.Cog):
|
|||||||
if message.channel.id == 1111625221171052595:
|
if message.channel.id == 1111625221171052595:
|
||||||
return
|
return
|
||||||
if isinstance(message.channel, discord.DMChannel):
|
if isinstance(message.channel, discord.DMChannel):
|
||||||
|
self.logger.info(message.author.id)
|
||||||
for superfryta in SPECJALNE_ZIEMNIACZKI:
|
for superfryta in SPECJALNE_ZIEMNIACZKI:
|
||||||
|
self.logger.info(superfryta[0])
|
||||||
if message.author.id == superfryta[0]:
|
if message.author.id == superfryta[0]:
|
||||||
await self.bot.process_commands(message)
|
await self.bot.process_commands(message)
|
||||||
await ai_functions.chat_with_assistant(message, superfryta[1])
|
await ai_functions.chat_with_assistant(message, superfryta[1])
|
||||||
return
|
return
|
||||||
channel = self.bot.get_channel(1064888712565100614)
|
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
|
return
|
||||||
channel = message.channel
|
channel = message.channel
|
||||||
# await self.bot.process_commands(message) #uncomment to bilocate
|
# await self.bot.process_commands(message) #uncomment to bilocate
|
||||||
|
|||||||
+1
-2
@@ -17,8 +17,7 @@ from constants import (
|
|||||||
OPENAICLIENT,
|
OPENAICLIENT,
|
||||||
WORD_REACTIONS,
|
WORD_REACTIONS,
|
||||||
ASSISTANTS,
|
ASSISTANTS,
|
||||||
SYSTEM_GPT_SETTINGS,
|
SYSTEM_GPT_SETTINGS
|
||||||
SPECJALNE_ZIEMNIACZKI
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user