fixed initial run of program
This commit is contained in:
parent
f02de579ed
commit
d393c79b91
2 changed files with 2 additions and 2 deletions
|
|
@ -23,8 +23,8 @@ async def load_cogs(bot: commands.Bot, cog_path: str) -> None:
|
|||
@bot.event
|
||||
async def on_ready():
|
||||
try:
|
||||
await utils.delete_all_files("tmp/")
|
||||
await utils.folder_setup()
|
||||
await utils.delete_all_files("tmp/")
|
||||
await load_cogs(bot, 'cogs/')
|
||||
logger.info('We have logged in as {0.user}'.format(bot))
|
||||
except:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue