Nicholas Chen
Nicholas Chen

Reputation: 144

Discord.py commands error message on command

My commands work but it also shows this weird error message. When I did p!help, I would get the response and this error message:

​No Category:
  clean 
  help  Shows this message
  sudo  

Type p!help command for more info on a command.
You can also type p!help category for more info on a category.

Upvotes: 0

Views: 96

Answers (1)

Nurqm
Nurqm

Reputation: 4743

You can remove the default help command by using client.remove_command('help'). You have to do this before you create your own help command.

from discord.ext import commands

client = commands.Bot(command_prefix='')
client.remove_command('help')

Reference

Upvotes: 2

Related Questions