Forums

Error while trying to run a discord bot

While im trying to run a discord bot I get this error

ClientException('event registered must be a coroutine function')
discord.errors.ClientException: event registered must be a coroutine function

What should I do to fix it?

that unfortunately is a coding issue- you are passing something to discord that is not a coroutine when it should be.