This commit is contained in:
2024-11-14 20:08:31 +01:00
parent b15c2f06b8
commit f4f4deb848
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -801,7 +801,7 @@ class MusicModule(commands.Cog):
async def setup(bot):
logger = logging.getLogger("discord")
await music_functions.MUSIC_FILE_LIST.refresh_file_list()
await music_functions.MUSIC_FILE_LIST.refresh_file_list(bot)
logger.info("Playlist generation")
await bot.add_cog(MusicModule(bot, "discord"))
logger.info("Loading music commands module done")