0

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.
3
  • That's not an error, that's the default help command message Commented Feb 3, 2021 at 19:27
  • Can i fix it? like how do i get rid of it Commented Feb 3, 2021 at 19:28
  • You can remove it with bot.remove_command('help') Commented Feb 3, 2021 at 19:30

1 Answer 1

2

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

Sign up to request clarification or add additional context in comments.

1 Comment

waw tysm :D ive been stuck with this for 2 days

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.