99 lines
3.1 KiB
Plaintext
99 lines
3.1 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_RESOLVEERROR]
|
|
Unable to find a role or member, view `{prefix}cmd grant` for more help.
|
|
|
|
[C_GRANT_MISSINGPERMPARAM]
|
|
You must provide permissions to grant, view `{prefix}cmd grant` for more help.
|
|
|
|
[C_GRANT_DATABASEERROR]
|
|
There was an issue pushing the permissions to the database. Contact a bot developer.
|
|
|
|
[C_GRANT_SUCCESS]
|
|
Successfully granted **{resolveable}** the following permissions: {permissions}
|
|
|
|
[C_GRANT_SUCCESSALT]
|
|
in channel(s) {channels}.
|
|
|
|
[C_GRANT_SUCCESSFAILED]
|
|
Some permissions failed to grant, likely because they already have the permissions or you did not supply valid permissions.
|
|
|
|
[C_GRANT_FAILED]
|
|
Failed to grant the permissions provided, view `{prefix}cmd grant` for more help.
|
|
|
|
//Revoke Command
|
|
|
|
[C_REVOKE_DESCRIPTION]
|
|
Revoke permissions granted to roles or users.
|
|
NOTE: If a role is deleted or a user left the guild, you must use the ID to revoke the permissions.
|
|
|
|
[C_REVOKE_RESOLVEERROR]
|
|
Unable to find a role or user, view `{prefix}cmd revoke` for more help.
|
|
|
|
[C_REVOKE_MISSINGPERMPARAM]
|
|
You must provide permissions to revoke, view `{prefix}cmd grant` for more help.
|
|
|
|
[C_REVOKE_DATABASEERROR]
|
|
There was an issue removing the permissions from the database. Contact a bot developer.
|
|
|
|
[C_REVOKE_SUCCESS]
|
|
Successfully revoked **{resolveable}** the following permissions: {removed}
|
|
|
|
[C_REVOKE_SUCCESSALT]
|
|
in channel(s) {channels}.
|
|
|
|
[C_REVOKE_SUCCESSFAILED]
|
|
Some permissions failed to revoke, likely because they did not have the permissions in the first place.
|
|
|
|
[C_REVOKE_FAILED]
|
|
Failed to revoke the permissions provided, try double-checking the permissions with `{prefix}perms {resolveable}`.
|
|
|
|
//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 guild. 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.
|