Reputation: 187
I have searched multiple places and they all say to do the same thing but the default help command still shows up when I run the command. I get the message discord.ext.commands.errors.CommandNotFound: Command "help" is not found
on the print line but still get the help message on discord.
This is at the top of my script right under imports.
client = commands.Bot(command_prefix = '!')
client.remove_command('help')
Upvotes: 0
Views: 526
Reputation: 1
client = commands.Bot(command_prefix = "#")
client.remove_command("help")
Also works
Upvotes: 0
Reputation: 73
According to the discordpy documentation, setting help_command
to None
when declaring the client solves ths issue.
client = commands.Bot(command_prefix = '!', help_command=None)
Upvotes: 1