mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-27 11:15:02 +00:00
knub commands => messageCommands
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
1dca8c4447
commit
cd68a6083c
26 changed files with 37 additions and 35 deletions
|
@ -29,7 +29,7 @@ export const SelfGrantableRolesPlugin = zeppelinGuildPlugin<SelfGrantableRolesPl
|
|||
### Basic configuration
|
||||
In this example, users can add themselves platform roles on the channel 473087035574321152 by using the
|
||||
\`!role\` command. For example, \`!role pc ps4\` to add both the "pc" and "ps4" roles as specified below.
|
||||
|
||||
|
||||
~~~yml
|
||||
self_grantable_roles:
|
||||
config:
|
||||
|
@ -46,10 +46,10 @@ export const SelfGrantableRolesPlugin = zeppelinGuildPlugin<SelfGrantableRolesPl
|
|||
basic:
|
||||
can_use: true
|
||||
~~~
|
||||
|
||||
|
||||
### Maximum number of roles
|
||||
This is identical to the basic example above, but users can only choose 1 role.
|
||||
|
||||
|
||||
~~~yml
|
||||
self_grantable_roles:
|
||||
config:
|
||||
|
@ -88,7 +88,7 @@ export const SelfGrantableRolesPlugin = zeppelinGuildPlugin<SelfGrantableRolesPl
|
|||
},
|
||||
|
||||
// prettier-ignore
|
||||
commands: [
|
||||
messageCommands: [
|
||||
RoleHelpCmd,
|
||||
RoleRemoveCmd,
|
||||
RoleAddCmd,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue