Don't hide commands when missing permissions
This commit is contained in:
parent
25bc62dd29
commit
f0b3485060
|
@ -350,9 +350,9 @@ If you want more information about a specific command, just pass the command as
|
||||||
// On another note, you can set up the help-menu-filter-behaviour.
|
// On another note, you can set up the help-menu-filter-behaviour.
|
||||||
// Here are all possible settings shown on all possible options.
|
// Here are all possible settings shown on all possible options.
|
||||||
// First case is if a user lacks permissions for a command, we can hide the command.
|
// First case is if a user lacks permissions for a command, we can hide the command.
|
||||||
#[lacking_permissions = "Hide"]
|
//#[lacking_permissions = "Hide"]
|
||||||
// If the user is nothing but lacking a certain role, we just display it hence our variant is `Nothing`.
|
// If the user is nothing but lacking a certain role, we just display it hence our variant is `Nothing`.
|
||||||
#[lacking_role = "Nothing"]
|
//#[lacking_role = "Nothing"]
|
||||||
// The last `enum`-variant is `Strike`, which ~~strikes~~ a command.
|
// The last `enum`-variant is `Strike`, which ~~strikes~~ a command.
|
||||||
#[wrong_channel = "Strike"]
|
#[wrong_channel = "Strike"]
|
||||||
// Serenity will automatically analyse and generate a hint/tip explaining the possible
|
// Serenity will automatically analyse and generate a hint/tip explaining the possible
|
||||||
|
|
Loading…
Reference in New Issue