This commit is contained in:
Erik 2022-01-16 22:28:20 +02:00
parent 41c0898524
commit 7aa06a54d1
No known key found for this signature in database
GPG Key ID: FEFF4B220DDF5589
3 changed files with 182 additions and 2 deletions

View File

@ -0,0 +1,8 @@
[ERR_INVALID_METHOD]
Invalid method!
[ERR_TIMEOUT]
Action timed out.
[ERR_CANCEL]
Action aborted.

View File

@ -7,6 +7,9 @@ Choices
[GENERAL_STATUS]
》 Status
[GENERAL_SILENT]
》 Silent
[GENERAL_STATE]
switch({bool}) {
case true:
@ -26,3 +29,22 @@ Changes **not** saved.
[SETTINGS_ERROR]
Internal error during handling of **{resolveable}**.
[SETTING_NOCONTENT]
No content provided.
[TIMEOUT_IN]
Timeout in {time} seconds.
[RESOLVE_FAIL]
Failed to resolve any **{type}**.
[ON_OFF_TOGGLE]
switch({toggle}) {
case true:
'on';
break;
case false:
'off';
break;
}

View File

@ -1,3 +1,85 @@
// General moderation setting entries
[SETTING_FILTER_WHITELIST]
》 Whitelist
[SETTING_FILTER_IGNORED]
》 Ignored channels
[SETTING_FILTER_BYPASS]
》 Role bypass
[SETTING_FILTER_ACTIONS]
》 Actions
// General filter stuff
[SETTING_FILTER_ACTION_ADD]
Successfully added a **{type}** action for {trigger} filter events.
**Duration:** {duration}
**Points:** {points}
**Force:** {force}
**Prune:** {prune}
[SETTING_FILTER_ACTION_ADD_START]
You will be asked a series of questions in order to configure the actions for the filter.
What type of action are you adding?
Can be one of `{valid}`.
> You can cancel this series of prompts by responding with `cancel`.
{wordwatcher}
[SETTING_FILTER_INVALID_INFRACTION]
The given infraction is invalid, must be one of `{valid}`.
[SETTING_FILTER_ACTION_ADD_TIMER]
Would you like the **{action}** to have a timer?
Not assigning a timer will use defaults for the corresponding action.
Respond with a duration or *__n__o*.
[SETTING_FILTER_ACTION_ADD_TIMER_FAIL]
Failed to resolve a valid timestring, skipping this step for now.
You can add a timer with the edit prompts later.
[SETTING_FILTER_ACTION_ADD_POINTS]
Do you want modpoints to be assigned for these actions?
Actions without assigned points will use default values from modpoints.
Respond with the amount of points or *__n__o*.
[SETTING_FILTER_ACTION_ADD_POINTS_FAIL]
Failed to parse points from your response.
Will use defaults for now. You can edit this later with the edit prompts.
[SETTING_FILTER_ACTION_ADD_POINTS_RANGE]
The point value you gave was out of range and was capped at **{value}**.
[SETTING_FILTER_ACTION_ADD_EXPIRATION]
Do you want the modpoints to have an expiration?
Actions without assigned expiration will use default values from modpoints.
Respond with the duration or *__n__o*.
[SETTING_FILTER_ACTION_ADD_EXPIRATION_FAIL]
Failed to resolve a valid timestring, skipping this step for now.
You can edit this later.
[SETTING_FILTER_ACTION_ADD_FORCE]
Should the action be forced to bypass automatic infracton escalation?
[SETTING_FILTER_ACTION_ADD_PRUNE]
Should the user's recent messages be pruned after being actioned?
Respond with *__y__es*. or *__n__o*.
[SETTING_FILTER_ACTIONS_EXISTING]
There is already an action in place for `{trigger}` filter events.
You can either remove or modify it.
//////////////////////////////////////////////////
// Mute
[SETTING_MUTE_ROLE]
》 Mute Role
@ -24,7 +106,7 @@ The bot encountered an issue while creating a role for the guild.
[SETTING_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)*
Answering no will create a new role with updated permissions.
This prompt will time out in __30 seconds__.
[SETTING_MUTE_ROLEPROMPTERROR]
@ -46,3 +128,71 @@ Some issues were found while creating permissions.
[SETTING_MUTE_UNGENERATEDPERMISSIONS]
**None of the permissions have been changed.**
[SETTING_MUTE_HELP]
**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.
////////////////////////////////////////////////////////////////
// Wordfilter
[SETTING_WORDFILTER_HELP]
Configure the word filtering behaviour for your server.
> Each option that is a list (explicit, fuzzy, regex, whitelist, bypass and ignore) work with the methods **add|remove|set|reset**.
> **NOTE:** Regex is meant for advanced users, if you do not understand how to use regex, ask someone who does or use the presets or other available filters.
> Silent means that the bot will not respond in chat. If actions are set in place the bot will DM if configured.
> Actions are managed through a series of prompts. The edit method is available **only** for actions, set is **not** available for actions.
> Currently available presets are `profanity`, `obscenity` and `slurs`.
[SETTING_WORDFILTER_EDIT_INVALID]
The edit method is **only** available for the **actions** list.
[SETTING_WORDFILTER_ACTION_ADD_TRIGGERS]
Which words should trigger this action? If you want this action to be a generic one (i.e. it is triggered for any filter event that doesn't have a an action tied to it) respond with **gen**eric.
Alternatively you can respond with **ex**plicit, **fuz**zy or **reg**ex if you want the action to be tied to a filter list.
For specific word triggers respond with a list of the words that should trigger it.
> Words that are not included in a filter will not trigger any actions as they are not filtered, unless a generic action is in place.
__Letting this prompt time out will make the action a **generic** one.__
[SETTING_WORDFILTER_WORD_IN_ACTION]
The following words are already tied to an action and were skipped.
`{words}`
// Wordwatcher
[SETTING_WORDWATCHER_ACTION_LIMIT]
You've hit the limit of quick actions. Either modify or remove existing ones.
[SETTING_WORDWATCHER_ACTION_ADD_START]
You can only define up to 5 quick actions, you currently have {amount} existing actions.
// Fields
[SETTING_WORDFILTER_EXPLICIT]
》 Explicit filter
[SETTING_WORDFILTER_FUZZY]
》 Fuzzy filter
[SETTING_WORDFILTER_REGEX]
》 Regex filter
[SETTING_WORDFILTER_PROMPT_ADD]
Respond with what you want to **add** to the **{list}** list.
[SETTING_WORDFILTER_PROMPT_REMOVE]
Respond with what you want to **remove** from the **{list}** list.
[SETTING_WORDFILTER_PROMPT_SET]
Respond with what you want to **set** the **{list}** list to.