mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
New stuff incoming
This commit is contained in:
@@ -301,13 +301,14 @@ logger.info("Done")
|
||||
async def on_ready():
|
||||
"""Metoda wywoływana przy połączeniu do serwera."""
|
||||
logger.debug("%s has connected to Discord!", client.user)
|
||||
await client.load_extension("voice_recognition")
|
||||
logger.info("Cogs")
|
||||
#TODO: load vs reload
|
||||
#try:
|
||||
await client.load_extension("voice_recognition_commands")
|
||||
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)
|
||||
logger.info("Command %s is awejleble", com.qualified_name)
|
||||
check_self.start()
|
||||
check_data_q.start()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user