RuntimeWarning: coroutine 'load_cogs' was never awaited
load_cogs()
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
A few days ago I updated the pycord version and the modules have stopped working.
This is how I have the modules:
async def load_cogs():
await bot.load_extension("commands.moderator.ban")
config_ = get_file_config()
async def main():
await load_cogs()
await bot.start(config_['DISCORD-BOT']['TOKEN_BOT'])
asyncio.run(main())
thx