close

[Solved] Discord.py – change the default help command

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error Discord.py – change the default help command in Python. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Discord.py – change the default help command Error Occurs?

Today I get the following error Discord.py – change the default help command in Python.

How To Solve Discord.py – change the default help commandError ?

  1. How To Solve Discord.py – change the default help commandError ?

    To Solve Discord.py – change the default help commandError You don't really need to remove the command… It isn't good, using the (prefix)help commandname <- It wont appear then… If you want it embed you can do.

Solution 1

You can use help_command=None. It delete default help command and you can create your help command. Example:

bot = commands.Bot(command_prefix='!', help_command=None)

@bot.command()
async def help(context):
    await context.send("Custom help command")

If you don’t set help_command=None and try to create your help command, you get this error: discord.errors.ClientException: Command help is already registered.

Solution 2

You don’t really need to remove the command… It isn’t good, using the (prefix)help commandname <- It wont appear then… If you want it embed you can do.

class NewHelpName(commands.MinimalHelpCommand):
    async def send_pages(self):
        destination = self.get_destination()
        for page in self.paginator.pages:
            emby = discord.Embed(description=page)
            await destination.send(embed=emby)
client.help_command = NewHelpName()

The built in help command is of great use

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also Read

Leave a Comment