nonJerry / VeraBot

Bot to verify and manage Memberships.
GNU General Public License v3.0
12 stars 7 forks source link

Fix start-up problems with latest discord.py master #20

Closed RisingFog closed 2 years ago

RisingFog commented 2 years ago

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.

nonJerry commented 2 years ago

Indents were needed, I guess they were just somehow lost ;)