mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
fx
This commit is contained in:
@@ -292,7 +292,6 @@ logger.info("Done")
|
||||
# *=========================================== Create Client
|
||||
logger.info("Creating discord bot")
|
||||
client = commands.Bot(intents=intents, command_prefix="$")
|
||||
client.load_extension("voice_recognition")
|
||||
logger.info("Done")
|
||||
logger.info("Creating flask app")
|
||||
logger.info("Done")
|
||||
@@ -303,6 +302,8 @@ logger.info("Done")
|
||||
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.change_presence(activity=discord.Game(name="Axe Throwing Darts"))
|
||||
await client.tree.sync()
|
||||
check_self.start()
|
||||
|
||||
Reference in New Issue
Block a user