How do you remove or at least change the format of the default help command in discord.py?
I think changing the format would be nice, I don't really like the format at all.
Deleting specific commandsHead to Server Settings -> Integrations -> Bots and Apps and choose your bot. Then, right click a command and click Copy ID. You need to have Developer Mode open in new window enabled for this to show up! Where 'commandId' is the id of the command you want to delete.
The proper way to disable the help command according to the docs is to pass help_command=None
into the constructor for discord.ext.commands.Bot
, such as:
bot = commands.Bot(help_command=None)
or
class MyBot(commands.Bot):
def __init__(self):
super().__init__(help_command=None)
This also allows you the opportunity to pass your own help function into the help_command
argument for different formatting.
Try this:
bot.remove_command('help')
Put this at the top of your code, after your imports. Then create your own.
Or to format it check this out: Click here!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With