mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-17 23:32:10 +00:00
fx
This commit is contained in:
@@ -292,7 +292,6 @@ logger.info("Done")
|
|||||||
# *=========================================== Create Client
|
# *=========================================== Create Client
|
||||||
logger.info("Creating discord bot")
|
logger.info("Creating discord bot")
|
||||||
client = commands.Bot(intents=intents, command_prefix="$")
|
client = commands.Bot(intents=intents, command_prefix="$")
|
||||||
client.load_extension("voice_recognition")
|
|
||||||
logger.info("Done")
|
logger.info("Done")
|
||||||
logger.info("Creating flask app")
|
logger.info("Creating flask app")
|
||||||
logger.info("Done")
|
logger.info("Done")
|
||||||
@@ -303,6 +302,8 @@ logger.info("Done")
|
|||||||
async def on_ready():
|
async def on_ready():
|
||||||
"""Metoda wywoływana przy połączeniu do serwera."""
|
"""Metoda wywoływana przy połączeniu do serwera."""
|
||||||
logger.debug("%s has connected to Discord!", client.user)
|
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.change_presence(activity=discord.Game(name="Axe Throwing Darts"))
|
||||||
await client.tree.sync()
|
await client.tree.sync()
|
||||||
check_self.start()
|
check_self.start()
|
||||||
|
|||||||
Reference in New Issue
Block a user