Reputation: 33
I'm coding a Discord bot, and this message appeared. I also included all libraries, but it's not working. I don't know what to do. Need help. Any suggestions?
client = discord.Client()
client = commands.Bot(command_prefix = '.')
client.remove_command('help')
Here's the message:
Upvotes: 1
Views: 4491
Reputation: 468
It seems that you haven't imported a necessary library. Try adding:
from discord.ext import commands
Above those three lines
Upvotes: 1