R
R
Romeo5582022-04-04 13:33:49
Python
Romeo558, 2022-04-04 13:33:49

How to turn off built-in help command in discord.py?

I'm programming my discord bot. I created a lot of commands and wanted to start making the final "help" command, but I got an error that I realized that this command is already there. This was true, but the default is that everyone on the server can use this command. How can I turn it off or at least make it so that only the creator of the server(@bot.is_owner) can use it?
624ac91befe64550054954.png
The admin, knowing one of the moderation commands, can delete my database, so I want to prevent this.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Shandy, 2022-04-04
@Romeo558

https://discordpy.readthedocs.io/en/latest/ext/com...
Should be something like this:
bot = commands.Bot(help_command=None)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question