DiscordPHP icon indicating copy to clipboard operation
DiscordPHP copied to clipboard

How can I hide a command from the default help command

Open MattMski opened this issue 3 years ago • 2 comments

Hello, is there any way to hide specific commands from the help command so they are not displayed?

MattMski avatar Sep 08 '22 20:09 MattMski

I'm not really sure, but you can set the defaultHelpCommand in options to false, this disable the whole command help

https://github.com/discord-php/DiscordPHP/wiki/Command-Client

SQKo avatar Sep 09 '22 14:09 SQKo

Yeah was kind of looking for something to hide it from the help command so the help command can still exist. Thanks.

MattMski avatar Sep 09 '22 23:09 MattMski

there is now an option called 'showHelp' available you can use to control this

key2peace avatar Nov 26 '22 21:11 key2peace

there is now an option called 'showHelp' available you can use to control this

Wonderful, great to hear something like this was added so fast. Thank you!

MattMski avatar Nov 27 '22 01:11 MattMski