This commit is contained in:
2024-08-15 17:09:18 +02:00
parent ce9beb5ecf
commit e6648926a6
2 changed files with 7 additions and 5 deletions
+5 -3
View File
@@ -295,17 +295,19 @@ logger.info("Done")
logger.info("Creating flask app")
logger.info("Done")
client.load_extension("voice_recognition")
# *=========================================== Define Events
@client.event
async def on_ready():
"""Metoda wywoływana przy połączeniu do serwera."""
logger.debug("%s has connected to Discord!", client.user)
#client.load_extension("voice_recognition")
await client.load_extension("voice_recognition")
logger.info("Cogs")
logger.info(client.cogs)
await client.change_presence(activity=discord.Game(name="Axe Throwing Darts"))
await client.tree.sync()
for com in client.commands:
logger.info(com.qualified_name)
check_self.start()
check_data_q.start()