As per recent discord.py asyncio changes, client.loop is no longer accessible in a sync context. Additionally, adding cogs must also be done in an async manner.
This PR resolves the issue and allows the bot to work on the latest discord.py master branch.
As per recent discord.py asyncio changes, client.loop is no longer accessible in a sync context. Additionally, adding cogs must also be done in an async manner.
This PR resolves the issue and allows the bot to work on the latest discord.py master branch.