Why will the command not be sent to my DMs when I try and use it on my server

Meeracoat

I expected this to send my custom help message (it is currently called testhelp instead of help as idk how to remove the built in help command) to the DMs of the person who used the testhelp command however it doesn't. I then tried to just send it to the server and it wouldn't send either. It is also not giving me any errors when I run the code.

Code

ComputerGeek12

Okay, to remove the default help command you do:

client = commands.Bot(command_prefix = prefix,help_command=None)

Notice I set the help_command to None.

To send it to the DMs, use await ctx.author.send(embed=embed) or to send it to the server, just use await ctx.send(embed=embed).

Hope this helps.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related