forked from Galactic/galactic-bot
495 lines
14 KiB
Plaintext
495 lines
14 KiB
Plaintext
|
|
|
|
// Administration Module
|
|
|
|
|
|
//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.
|
|
|
|
|
|
// Moderation Module
|
|
|
|
|
|
//Protection Setting
|
|
[S_PROTECTION_DESCRIPTION]
|
|
Configure how moderation immunity works. Can be specific roles or role position based.
|
|
|
|
__Protection Types__
|
|
**`position`:** Users cannot infract others with a higher role than them. *(default)*
|
|
**`role`:** Users cannot infract others with specified protection roles.
|
|
|
|
[S_PROTECTION_INVALID_ARGS]
|
|
Invalid argument, must be either `role` or `position`.
|
|
|
|
[S_PROTECTION_TYPE]
|
|
Successfully set protection type to `{type}`.
|
|
|
|
[S_PROTECTION_ADD]
|
|
Added `{changes}` to the protected list.
|
|
|
|
[S_PROTECTION_REMOVE]
|
|
Removed `{changes}` from the protected list.
|
|
|
|
[S_PROTECTION_SET]
|
|
Set the protected list to `{changes}`.
|
|
|
|
[S_PROTECTION_LIST]
|
|
The following roles are protected.
|
|
{list}
|
|
|
|
//Automod
|
|
[S_AUTOMODERATION_DESCRIPTION]
|
|
Configure automatic infraction escalation & other automated moderation behaviour.
|
|
|
|
**Note:** Toggling useprevious on will cause the automod to use the previous exceeded threshold's action if no new threshold is exceeded.
|
|
|
|
[S_AUTOMOD_TOGGLE]
|
|
Successfully toggled automatic infraction escalation **{toggle}**.
|
|
|
|
[S_AUTOMOD_NOARG]
|
|
Missing action type argument.
|
|
|
|
[S_AUTOMOD_INVALID_TYPE]
|
|
Cannot set **{infraction}** as a threshold.
|
|
|
|
[S_AUTOMOD_INVALID_POINTS]
|
|
Invalid points supplied, must be an integer between 0 and 100.
|
|
|
|
[S_AUTOMOD_REMOVE_POINTS]
|
|
Successfully removed **{type}** at **{points} points**.
|
|
|
|
[S_AUTOMOD_REMOVE_NOPOINTS]
|
|
No points to remove.
|
|
|
|
[S_AUTOMOD_ADD_POINTS]
|
|
Successfully added action **{type}** at **{points} points**.
|
|
|
|
[S_AUTOMOD_ADD_POINTS_TIMED]
|
|
Successfully added action **{type}** at **{points} points** for **{time}**.
|
|
|
|
[S_AUTOMOD_OVERWRITE_POINTS]
|
|
Successfully overwrote **{oldType}** with **{type}** at **{points} points**.
|
|
|
|
[S_AUTOMOD_OVERWRITE_POINTS_TIMED]
|
|
Successfully overwrote **{oldType}** with **{type}** at **{points} points** for **{time}**.
|
|
|
|
[S_AUTOMOD_NOACTION]
|
|
No action set at that threshold.
|
|
|
|
[S_AUTOMOD_REMOVE_LENGTH]
|
|
Successfully removed length for **{type}** at **{points} points**.
|
|
|
|
[S_AUTOMOD_USEPREV_TOGGLE]
|
|
Successfully toggled usage of previous exceeded threshold **{toggle}**.
|
|
|
|
//moderationPoints Setting
|
|
[S_MODERATIONPOINTS_DESCRIPTION]
|
|
Configure points and point expiration for infractions. Utilized by auto-moderation.
|
|
|
|
**Note:** Associating a word with a point value will use that point value if it is detected in the infraction reason and no point value is given manually.
|
|
|
|
[S_MODERATIONPOINTS_NAN]
|
|
Invalid points: `{arg}`
|
|
|
|
[S_MODERATIONPOINTS_TOOSMALL]
|
|
The provided integer is too small: `{arg}`
|
|
|
|
[S_MODERATIONPOINTS_TOOBIG]
|
|
The provided integer is too big: `{arg}`
|
|
|
|
[S_MODERATIONPOINTS_INVALID_TIMESTRING]
|
|
Could not parse a valid timestring from arguments!
|
|
|
|
Make sure you're using the right format!
|
|
**(int unit)**
|
|
s, sec, secs, second, seconds - will parse to seconds
|
|
m, min, mins, minute, minutes - will parse to minutes
|
|
h, hr, hrs, hour, hours - will parse to hours
|
|
d, day, days - will parse to days
|
|
w, week, weeks - will parse to weeks
|
|
mon, mth, mths, month, months - will parse to months
|
|
y, yr, yrs, year, years - will parse to years
|
|
|
|
[S_MODERATIONPOINTS_ASSOCIATE]
|
|
Successfully associated `{word}` to `{points}` points.
|
|
|
|
[S_MODERATIONPOINTS_ASSOCIATE_REMOVE]
|
|
Successfully removed the following associations: {words}
|
|
|
|
[S_MODERATIONPOINTS_ASSOCIATE_RESET]
|
|
Successfully cleared all point associations.
|
|
|
|
[S_MODERATIONPOINTS_EXPIRE]
|
|
Successfully set {type} to expire in `{time}` time.
|
|
|
|
[S_MODERATIONPOINTS_TOGGLE]
|
|
Successfully toggled modpoints {toggle}.
|
|
|
|
[S_MODERATIONPOINTS_INVALID_TYPE]
|
|
Cannot assign points to **{infraction}** type.
|
|
|
|
//IGNORE SETTING
|
|
[S_IGNORECHANNELS_DESCRIPTION]
|
|
Define the channels that the bot will ignore commands in from non-bypassed users.
|
|
|
|
[S_IGNORE_ADD]
|
|
Successfully added the following channels to the ignore list: `{changes}`
|
|
|
|
[S_IGNORE_REMOVE]
|
|
Successfully removed the following channels from the ignore list: `{changes}`
|
|
|
|
[S_IGNORE_LIST]
|
|
The following channels are being ignored by the bot: `{channels}`
|
|
|
|
The following roles have ignore bypass enabled: `{roles}`
|
|
|
|
[S_IGNORE_BYPASS_ADD]
|
|
Successfully added the following roles to the ignore bypass: `{changes}`
|
|
|
|
[S_IGNORE_BYPASS_REMOVE]
|
|
Successfully removed the following roles from the ignore bypass: `{changes}`
|
|
|
|
//moderationLog Setting
|
|
|
|
[S_MODERATIONLOG_DESCRIPTION]
|
|
Define the channel to which moderation logs are sent. The setting also allows you to exclude/include types of actions from being logged in the channel.
|
|
|
|
[S_MODERATIONLOG_CHANNEL404]
|
|
{val} does not resolve into a channel.
|
|
|
|
[S_MODERATIONLOG_CHANNEL_SUCCESS]
|
|
Successfully set the modlogs channel to {channel}.
|
|
|
|
[S_MODERATIONLOG_OFF]
|
|
Successfully disabled moderation logs.
|
|
|
|
[C_MODERATIONLOG_INFRACTIONSLIST]
|
|
The following infractions are set to be logged: {list}.
|
|
|
|
[S_MODERATIONLOG_INFRACTIONSMETHODS]
|
|
switch("{method}") {
|
|
case "add":
|
|
"added"
|
|
break;
|
|
case "remove":
|
|
"removed"
|
|
break;
|
|
case "set":
|
|
"set the"
|
|
break;
|
|
}
|
|
|
|
[S_MODERATIONLOG_INFRACTIONS]
|
|
Successfully **{method}** infraction type{plural} {types} to be logged.
|
|
|
|
[S_MODERATIONLOG_INFRACTIONSFAIL]
|
|
Failed to **{method}** any infractions.
|
|
|
|
//nicknameLog Setting
|
|
[S_NICKNAMELOG_DESCRIPTION]
|
|
Configure member nickname logging for your server.
|
|
|
|
[S_NICKNAMELOG_TOGGLE]
|
|
Successfully toggled member nickname logging **{changed}**.
|
|
|
|
[S_NICKNAMELOG_CHANNEL]
|
|
Successfully set member nicknames to log to {emoji_text-channel}**{changed}**.
|
|
|
|
//memberLog Setting
|
|
|
|
[S_MEMBERLOG_DESCRIPTION]
|
|
Configure member join and leave logging for your server.
|
|
|
|
__Available Tags__
|
|
**`{mention}`**: user mention
|
|
**`{tag}`:** username#discriminator
|
|
**`{user}`:** username
|
|
**`{serversize}`:** server member count
|
|
**`{servername}`:** server name
|
|
**`{accage}`:** user age
|
|
**`{id}`:** user ID
|
|
|
|
[S_MEMBERLOGS_TOGGLE]
|
|
Successfully turned member logging **{changed}**.
|
|
|
|
[S_MEMBERLOGS_CHANNEL]
|
|
Successfully set member joins and leaves to log to {emoji_text-channel}**{changed}**.
|
|
|
|
[S_MEMBERLOGS_JOIN]
|
|
Successfully **{action}** the member join message to
|
|
`{changed}`
|
|
|
|
[S_MEMBERLOGS_LEAVE]
|
|
Successfully **{action}** the member leave message to
|
|
`{changed}`
|
|
|
|
//voiceLog Setting
|
|
[S_VOICELOG_DESCRIPTION]
|
|
Configure logging of voice joins and leaves for your server.
|
|
|
|
[S_VOICELOG_TOGGLE]
|
|
Successfully turned voice join and leave logging **{changed}**.
|
|
|
|
[S_VOICELOG_CHANNEL]
|
|
Successfully set voice joins and leaves to log to {emoji_text-channel}**{changed}**.
|
|
|
|
//messageLog Setting
|
|
[S_MESSAGELOG_DESCRIPTION]
|
|
Configure message logging for your server. Message logging utilizes webhooks, ensure the bot has the **Manage Webhooks** permission in the logging channel.
|
|
|
|
[S_MESSAGELOG_ROLES_LIST]
|
|
The following roles are ignored by chatlogs: {roles}
|
|
|
|
[S_MESSAGELOG_CHANNELS_LIST]
|
|
The following channels are ignored by chatlogs: {channels}
|
|
|
|
[S_MESSAGELOG_ROLES]
|
|
Successfully {action} the following roles: {changed}
|
|
|
|
[S_MESSAGELOG_CHANNELS]
|
|
Successfully {action} the following channels: {changed}
|
|
|
|
[S_MESSAGELOG_ATTACHMENTS]
|
|
Successfully turned attachment logging **{changed}**.
|
|
|
|
[S_MESSAGELOG_RESET]
|
|
Successfully reset the chatlogs setting.
|
|
|
|
[S_MESSAGELOG_TOGGLE]
|
|
Successfully turned message logging **{changed}**.
|
|
|
|
[S_MESSAGELOG_TOGGLE_PERM]
|
|
Successfully turned message logging **{changed}**.
|
|
|
|
**Note:** The bot lacks the `MANAGE_WEBHOOKS` permission and is as such unable to configure the webhook for message logging.
|
|
|
|
[S_MESSAGELOG_CHANNEL]
|
|
Successfully set messages to log to {emoji_text-channel}**{changed}**.
|
|
|
|
//mute Setting
|
|
[S_MUTE_DESCRIPTION]
|
|
**Assign/create a muted role, choose mute functionality, define a default mute duration, or enable permanent mutes.** If creating a new muted role, creating permissions could take some time. Default mute durations will only be assigned if permanent mutes are off and a duration is not passed to the mute command.
|
|
|
|
__Mute Types__
|
|
**`0`:** Mutes only add/remove the muted role. *(default)*
|
|
**`1`:** Mutes remove all roles except for the muted role.
|
|
**`2`:** Mutes remove all roles, does not require a muted role.
|
|
|
|
[S_MUTE_TYPENAN]
|
|
The argument provided is not a number! The available types are: `0`, `1`, or `2`.
|
|
View `{prefix}setting mute` for more help.
|
|
|
|
[S_MUTE_TYPEINVALID]
|
|
The argument provided is not a valid type! The available types are: `0`, `1`, or `2`.
|
|
View `{prefix}setting mute` for more help.
|
|
|
|
[S_MUTE_TYPESUCCESS]
|
|
Successfully set the **mute type** to `{type}`.
|
|
|
|
[S_MUTE_TYPESWITCH]
|
|
switch({type}) {
|
|
case 0:
|
|
"Mutes will now *only add/remove* the muted role.";
|
|
break;
|
|
case 1:
|
|
"Mutes will now *remove all roles except for the muted role*, and then add them back once done.";
|
|
break;
|
|
case 2:
|
|
"Mutes will now *remove all roles* and then add them back once done.";
|
|
break;
|
|
}
|
|
|
|
[S_MUTE_PERMANENTINVALID]
|
|
The argument provided is not a boolean value. *(__t__rue, __f__alse)*
|
|
|
|
[S_MUTE_PERMANENTSUCCESS]
|
|
Successfully set **permanent mutes** to `{boolean}`.
|
|
|
|
[S_MUTE_DEFAULTINVALID]
|
|
The argument provided is not a time value. *(1hr, 3d, etc.)*
|
|
|
|
[S_MUTE_DEFAULTSUCCESS]
|
|
Successfully set the **default mute duration** to `{time} seconds`.
|
|
|
|
[S_MUTE_ROLEMISSINGPERMISSION]
|
|
The bot *must have* the `MANAGE_ROLES` permission to create a new mute role.
|
|
|
|
[S_MUTE_ROLEPROMPT]
|
|
Found an existing role named **{name}** `({id})`, would you like to use it and update these roles permissions?
|
|
Answering no will create a new role with updated permissions. *(__y__es, __n__o)*
|
|
This prompt will time out in __30 seconds__.
|
|
|
|
[S_MUTE_ROLEPROMPTERROR]
|
|
You provided an invalid input, please try again.
|
|
|
|
[S_MUTE_ROLECREATEERROR]
|
|
The bot encountered an issue while creating a role for the guild.
|
|
|
|
[S_MUTE_ROLEMISSING]
|
|
Cannot find a specified role with those arguments.
|
|
To create a new role, try `{prefix}set createmute Muted`.
|
|
|
|
[S_MUTE_ROLESUCCESS]
|
|
Successully set the **mute role** to {emoji_role}**{role}**.
|
|
|
|
[S_MUTE_CREATESUCCESS]
|
|
Successfully set the **mute role** to {emoji_role}**{role}**.
|
|
{permissions}
|
|
|
|
[S_MUTE_CREATESUCCESSALT]
|
|
Successfully created and set the **mute role** to {emoji_role}**{role}**.
|
|
{permissions}
|
|
|
|
[S_MUTE_CREATESUCCESSWARNING]
|
|
Some issues were found while creating permissions.
|
|
|
|
[S_MUTE_GENERATEDPERMISSIONS]
|
|
**Permissions have been applied to all possible channels.**
|
|
|
|
[S_MUTE_UNGENERATEDPERMISSIONS]
|
|
**None of the permissions have been changed.**
|
|
|
|
//Silent Setting
|
|
[S_SILENT_DESCRIPTION]
|
|
Configure if all moderation commands will execute silently. Silent executions will delete the exeuctor's message and will not respond unless encountering an error.
|
|
|
|
[S_SILENT_INVALID]
|
|
The argument provided is not a boolean value. *(__t__rue, __f__alse)*
|
|
|
|
[S_SILENT_SUCCESS]
|
|
Successfully set **silent** to `{value}`.
|
|
|
|
//DmInfraction Setting
|
|
[S_DMINFRACTION_DESCRIPTION]
|
|
Configure if messages get sent to users after they're infracted. Setup custom messages and customize what infractions you want to send to the user.
|
|
|
|
[S_DMINFRACTION_TOGGLESUCCESS]
|
|
Successfully **{boolean}** the setting **dmInfraction**.
|
|
|
|
|
|
// Utility Module
|
|
|
|
|
|
//stickyRole Setting
|
|
[S_STICKYROLE_DESCRIPTION]
|
|
Configure the role persistence when users leave and rejoin (roles get automatically reassigned upon rejoin).
|
|
|
|
[S_STICKYROLE_TOGGLE]
|
|
Successfully toggled role persistence `{toggle}`.
|
|
|
|
[S_STICKYROLE_ADD]
|
|
Successfully made `{changes}` sticky.
|
|
|
|
[S_STICKYROLE_REMOVE]
|
|
Successfully made `{changes}` unsticky.
|
|
|
|
[S_STICKYROLE_SET]
|
|
Successfully set sticky roles to `{changes}`.
|
|
|
|
[S_STICKYROLE_LIST]
|
|
The following roles persist when a user leaves and rejoins:
|
|
{list}
|
|
|
|
//guildIndex setting
|
|
[S_INDEX_DESCRIPTION]
|
|
Configure guild indexing and description for your guild.
|
|
|
|
[S_INDEX_DESCRIPTION_SET]
|
|
Successfully set the guild description to
|
|
```
|
|
{changes}
|
|
```
|
|
|
|
[S_INDEX_TOGGLE]
|
|
Successfully toggled guild indexing `{toggle}`.
|
|
|
|
//welcomer Setting
|
|
[S_WELCOMER_DESCRIPTION]
|
|
Configure a message that is sent to new members upon join.
|
|
|
|
**Usable tags:**
|
|
{mention} - mentions the user
|
|
{tag} - username#discriminator
|
|
{user} - username
|
|
{guildsize} - member count of the server
|
|
{guildname} - name of the server
|
|
{accage} - age of the account
|
|
{id} - ID of the account
|
|
|
|
[S_WELCOMER_TOGGLE]
|
|
Successfully toggled the welcomer `{toggle}`.
|
|
|
|
[S_WELCOMER_SET]
|
|
Successfully set the welcomer message to
|
|
`{change}`
|
|
|
|
//guildPrefix Setting
|
|
[S_GUILDPREFIX_DESCRIPTION]
|
|
Customizes your prefix in the guild.
|
|
|
|
[S_GUILDPREFIX_SUCCESS]
|
|
Successfully set the guild prefix to `{prefix}`.
|
|
|
|
[S_GUILDPREFIX_LENGTH]
|
|
The guild prefix cannot exceed {max} characters. `[{length}/{max}]`.
|
|
|
|
[S_GUILDPREFIX_SPACES]
|
|
The guild prefix cannot include spaces.
|
|
|
|
[S_GUILDPREFIX_RESET]
|
|
Successfully reset the guild prefix to `{prefix}`.
|
|
|
|
//autorole setting
|
|
|
|
[S_AUTOROLE_DESCRIPTION]
|
|
Configure automatic role assignment in your guild.
|
|
|
|
[S_AUTOROLE_ADD]
|
|
Successfully added the following roles to autorole:
|
|
`{changes}`
|
|
|
|
[S_AUTOROLE_REMOVE]
|
|
Successfully removed the following roles from autorole:
|
|
`{changes}`
|
|
|
|
[S_AUTOROLE_LIST]
|
|
The following roles are added to users upon join.
|
|
{list}
|
|
|
|
|
|
// Developer Module
|
|
|
|
|
|
//Premium Setting
|
|
[S_PREMIUM_DESCRIPTION]
|
|
View the server's current premium subscription tier. |