36 lines
1.5 KiB
Plaintext
36 lines
1.5 KiB
Plaintext
|
//Commands
|
||
|
|
||
|
//Settings
|
||
|
//permissionType Setting
|
||
|
|
||
|
[S_PERMISSIONTYPE_DESCRIPTION]
|
||
|
Changes how permissions will be regarded for bot commands. For all modes except for the "discord" mode, you can use the `{prefix}grant` and the `{prefix}revoke` commands to configure permissions.
|
||
|
|
||
|
__Permission Types__
|
||
|
**`discord`:** Only discord-based permissions work with bot commands.
|
||
|
**`grant`:** Only grantable permissions from the bot work with bot commands. *(requires you to set everything up yourself)*
|
||
|
**`both`:** Both discord-based and grantable permissions work with bot commands. *(default)*
|
||
|
|
||
|
[S_PERMISSIONTYPE_INVALIDTYPE]
|
||
|
The provided value is not a valid permission type; try: `discord`, `grant`, or `both`.
|
||
|
Use the command `{prefix}setting permissiontype` for more information.
|
||
|
|
||
|
[S_PERMISSIONTYPE_SUCCESS]
|
||
|
Successfully set permission type to `{type}`.
|
||
|
**{description}**
|
||
|
|
||
|
[S_PERMISSIONTYPE_DESCRIPTIONS]
|
||
|
switch('{type}') {
|
||
|
case 'discord':
|
||
|
"Only discord-based permissions will work with bot commands."
|
||
|
break;
|
||
|
case 'grant':
|
||
|
"Only grantable permissions from the bot will work with bot commands."
|
||
|
break;
|
||
|
case 'both':
|
||
|
"Both discord-based and grantable permissions work with bot commands."
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
[S_PERMISSIONTYPE_GRANTWARNING]
|
||
|
You enabled the **discord** permission type, which means **nobody can use commands until Administrators grants roles/users the permission to use them**. For more information, refer to the `{prefix}grant` and `{prefix}revoke` commands.
|