mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
ied
This commit is contained in:
+2
-1
@@ -46,6 +46,7 @@ class Events(commands.Cog):
|
|||||||
async def cog_load(self):
|
async def cog_load(self):
|
||||||
self.logger.info("Starting personal assistants")
|
self.logger.info("Starting personal assistants")
|
||||||
for superfryta_id, superfryta in SPECJALNE_ZIEMNIACZKI.items():
|
for superfryta_id, superfryta in SPECJALNE_ZIEMNIACZKI.items():
|
||||||
|
|
||||||
if superfryta[4] != "":
|
if superfryta[4] != "":
|
||||||
self.logger.info(
|
self.logger.info(
|
||||||
"Personal assistant for user: %s, exists id: %s,name: %s, owner: %s, special instructions: %s assistant id: %s ",
|
"Personal assistant for user: %s, exists id: %s,name: %s, owner: %s, special instructions: %s assistant id: %s ",
|
||||||
@@ -199,7 +200,7 @@ 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)
|
self.logger.info(message.author.id)
|
||||||
for superfryta in SPECJALNE_ZIEMNIACZKI.values():
|
for superfryta in SPECJALNE_ZIEMNIACZKI.values():
|
||||||
self.logger.info(superfryta[0])
|
self.logger.info(superfryta[0])
|
||||||
if message.author.id == superfryta[0]:
|
if message.author.id == superfryta[0]:
|
||||||
|
|||||||
Reference in New Issue
Block a user