135 lines
4.5 KiB
Plaintext
135 lines
4.5 KiB
Plaintext
//Grant Command
|
|
|
|
[C_GRANT_DESCRIPTION]
|
|
Grant roles or users permissions to use commands or modules.
|
|
To view all grantable permissions, use the command `{prefix}perms list`.
|
|
|
|
[C_GRANT_MISSINGRESOLVEABLES]
|
|
Unable to find any roles or members, view `{prefix}cmd grant` for more information.
|
|
|
|
[C_GRANT_MISSINGPERMISSIONNODES]
|
|
Unable to find any grantable permissions, view `{prefix}cmd grant` for more information.
|
|
|
|
[C_GRANT_DATABASEERROR]
|
|
There was an issue pushing the permissions to the database. Contact a bot developer.
|
|
|
|
[C_GRANT_SUCCESS]
|
|
Successfully granted targets {targets} the following permissions: {permissions}{channel}.
|
|
|
|
[C_GRANT_SUCCESSCHANNELS]
|
|
in channel{plural} {channels}
|
|
|
|
[C_GRANT_WARNING]
|
|
You granted a command from the **Administration** module. This is potentially dangerous, as whoever you granted the administration commands to could have access to vital parts of the server. Only grant administration commands to people you trust.
|
|
|
|
//Revoke Command
|
|
|
|
[C_REVOKE_DESCRIPTION]
|
|
Revoke permissions granted to roles or users.
|
|
NOTE: If a user left the server, you must use the ID to revoke the permissions.
|
|
|
|
[C_REVOKE_MISSINGRESOLVEABLES]
|
|
Unable to find any roles or users, view `{prefix}cmd revoke` for more information.
|
|
|
|
[C_REVOKE_DATABASEERROR]
|
|
There was an issue pushing the permissions to the database. Contact a bot developer.
|
|
|
|
[C_REVOKE_SUCCESS]
|
|
Successfully revoked targets {targets} the following permissions: {permissions}{channel}.
|
|
|
|
[C_REVOKE_SUCCESSCHANNELS]
|
|
in channel{plural} {channels}
|
|
|
|
//Permissions Command
|
|
|
|
[C_PERMISSIONS_DESCRIPTION]
|
|
View permissions granted to roles or users.
|
|
|
|
[C_PERMISSIONS_LIST]
|
|
You can **grant**/**revoke** the following permissions: {permissions}.
|
|
|
|
[C_PERMISSIONS_SHOWTITLE]
|
|
switch({user}) {
|
|
case true:
|
|
"User Permissions"
|
|
break;
|
|
case false:
|
|
"Role Permissions"
|
|
break;
|
|
}
|
|
|
|
[C_PERMISSIONS_SHOWDESCRIPTION]
|
|
An overview of all {resolve}'s permissions in the server. If you would like to see an in-depth view of the role or user's permissions, use `{prefix}perms [user|role]`.
|
|
|
|
[C_PERMISSIONS_MAXFIELDS]
|
|
:warning: **You have met the max amount of fields and you will need to use `{prefix}perms --json` to view them.** :warning:
|
|
|
|
[C_PERMISSIONS_NOTFOUND]
|
|
Unable to find any roles or users with those arguments.
|
|
|
|
[C_PERMISSIONS_JSON]
|
|
Attached the JSON-formatted permission file in the file below.
|
|
You may want to format this file for your viewing pleasure.
|
|
|
|
[C_PERMISSIONS_GLOBAL]
|
|
**Global Permissions:** {permissions}
|
|
Global permissions can be used in all channels, but you can add specific channels if needed.
|
|
|
|
[C_PERMISSIONS_GLOBALALT]
|
|
Channel-specific permissions are listed below.
|
|
|
|
[C_PERMISSIONS_NOPERMISSIONS]
|
|
**No permissions found!** Try granting some permissions by using:
|
|
`{prefix}grant <roles..|users..> <permissions..>}`
|
|
|
|
[C_PERMISSIONS_PERMISSIONSNOTFOUND]
|
|
Found {type} **{resolveable}** but {they}had no permissions.
|
|
|
|
//Disable Command
|
|
[C_DISABLE_DESCRIPTION]
|
|
Disable commands in your server to prevent usage.
|
|
|
|
[C_DISABLE_LIST]
|
|
The command{plural} currently disabled in your server are: {commands}
|
|
|
|
[C_DISABLE_LISTFAIL]
|
|
There are no disabled commands in your server.
|
|
|
|
[C_DISABLE_MISSINGCOMMANDS]
|
|
You must provide commands to disable.
|
|
|
|
[C_DISABLE_SUCCESS]
|
|
Successfully **disabled** command{plural} {commands} in your server.
|
|
|
|
[C_DISABLE_FAIL]
|
|
Failed to disable command{plural} {commands}. You are unable to disable the **command:enable** and **command:disable** commands.
|
|
|
|
[C_DISABLE_WARNING]
|
|
You disabled a command inside of the **Administration** module. It is dangerous to do so, as it may disable configurability of your server. Note you are unable to disable the `command:enable` and `command:disable` commands.
|
|
|
|
[C_DISABLE_SUCCESSGLOBAL]
|
|
Successfully **disabled** command{plural} {commands} globally. **`[{amount}/{total}]`**
|
|
These changes will be reverted if a shard restarts; edit the file{plural} for sustainability.
|
|
|
|
[C_DISABLE_FAILGLOBAL]
|
|
Failed to globally disable command{plural} {commands}. **`[0/{total}]`**
|
|
|
|
//Enable Command
|
|
[C_ENABLE_DESCRIPTION]
|
|
Enable commands in your server.
|
|
|
|
[C_ENABLE_MISSINGCOMMANDS]
|
|
You must provide commands to enable.
|
|
|
|
[C_ENABLE_SUCCESS]
|
|
Successfully **enabled** command{plural} {commands} in your server.
|
|
|
|
[C_ENABLE_FAIL]
|
|
Failed to enable command{plural} {commands}, they likely were not disabled.
|
|
|
|
[C_ENABLE_SUCCESSGLOBAL]
|
|
Successfully **enabled** command{plural} {commands} globally. **`[{amount}/{total}]`**
|
|
These changes will be reverted if a shard restarts; edit the file{plural} for sustainability.
|
|
|
|
[C_ENABLE_FAILGLOBAL]
|
|
Failed to globally enable command{plural} {commands}. **`[0/{total}]`** |