You cannot mix client
with bot
. Use one or the other (bot
is typically used). Then change your code to fit one of these. For example, if you pick bot
, rename @client.event
to bot.event
and change client.run
to bot.run
.
You are also needlessly importing the Bot
class again when you have already imported it from discord.ext.commands
. I’m also not sure what discord.Game
is at the end of your imports.
CLICK HERE to find out more related problems solutions.