This commit is contained in:
2024-08-15 16:54:08 +02:00
parent 63fb7a3b8a
commit ce9beb5ecf
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -49,7 +49,6 @@ from communication_subroutine import (
comm_subroutine,
PREPPED_TRACKS,
)
import voice_recognition
from spotify_dl import spotify
from spotify_dl import youtube as youtube_download
@@ -296,13 +295,14 @@ 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")
#client.load_extension("voice_recognition")
await client.change_presence(activity=discord.Game(name="Axe Throwing Darts"))
await client.tree.sync()