fixed initial run of program

This commit is contained in:
phixxy 2024-04-28 12:52:26 -07:00
parent f02de579ed
commit d393c79b91
2 changed files with 2 additions and 2 deletions

View file

@ -23,8 +23,8 @@ async def load_cogs(bot: commands.Bot, cog_path: str) -> None:
@bot.event @bot.event
async def on_ready(): async def on_ready():
try: try:
await utils.delete_all_files("tmp/")
await utils.folder_setup() await utils.folder_setup()
await utils.delete_all_files("tmp/")
await load_cogs(bot, 'cogs/') await load_cogs(bot, 'cogs/')
logger.info('We have logged in as {0.user}'.format(bot)) logger.info('We have logged in as {0.user}'.format(bot))
except: except:

View file

@ -53,5 +53,5 @@ LOGGING_CONFIG = {
}, },
}, },
} }
logger_setup()
dictConfig(LOGGING_CONFIG) dictConfig(LOGGING_CONFIG)