137 role command cannot read properties of undefined (#141)
* Fix issue with bot crashing * Fix server prefix not showing * Add easy way to configure role command * Move help text to its own directory * Make role config command to use role id
This commit is contained in:
parent
84bc8aff07
commit
aeba45c076
7 changed files with 141 additions and 14 deletions
|
@ -5,7 +5,7 @@ bot.prefix: The bot prefix for the server (Default: "v!")
|
|||
|
||||
commands.disabled: Disabled commands, separated by commas (Default: "")
|
||||
|
||||
role.assignable: List of roles assignable to user (Default: [])
|
||||
role.assignable: List of roles assignable to user, separated by commas (Default: "")
|
||||
role.moderator: The moderator role name (Default: "Moderator")
|
||||
role.administrator: The administrator role name (Default: "Administrator")
|
||||
role.muted: The muted role name (Default: "Muted")
|
8
data/usage/role.txt
Normal file
8
data/usage/role.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
USAGE: config <add|remove> <Role ID>
|
||||
|
||||
===[ EXAMPLE ]===
|
||||
To add a role:
|
||||
- config add 000000000000000000
|
||||
|
||||
To remove a role:
|
||||
- config remove 000000000000000000
|
Loading…
Add table
Add a link
Reference in a new issue