3
0
Fork 0
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:
metal 2023-03-11 23:58:12 +00:00 committed by GitHub
parent 1dca8c4447
commit cd68a6083c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 37 additions and 35 deletions

View file

@ -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,