standardised some language entries for role bypass

This commit is contained in:
Erik 2021-06-09 14:57:17 +03:00
parent 3b55561b89
commit 4ae1a6de80
No known key found for this signature in database
GPG Key ID: 7E862371D3409F16
2 changed files with 25 additions and 25 deletions

View File

@ -87,7 +87,7 @@ module.exports = class WordFilter extends FilterSetting {
error: true,
msg: message.format('ERR_INVALID_METHOD', { method: resolved.method || args[0] })
};
else if (args.length < 2 && resolved.method !== 'reset') return {
else if (args.length < 1 && resolved.method !== 'reset') return {
error: true,
msg: message.format('MISSING_ARGS')
};

View File

@ -223,16 +223,16 @@ Configure the behaviour of the word watcher.
Successfully toggled the word watcher **{toggle}**.
[S_WORDWATCHER_BYPASS_ADD]
Successfully added `{changes}` to the bypass list.
Successfully added **{changes}** to the bypass list.
[S_WORDWATCHER_BYPASS_SET]
Successfully set the bypass list to `{changes}`.
Successfully set the bypass list to **{changes}**.
[S_WORDWATCHER_BYPASS_RESET]
Successfully reset the bypass list.
[S_WORDWATCHER_BYPASS_REMOVE]
Successfully removed `{changes}` from the bypass list.
Successfully removed **{changes}** from the bypass list.
[S_WORDWATCHER_IGNORE_ADD]
Successfully added `{changes}` to the ignore list.
@ -328,28 +328,28 @@ Successfully reset the regex word filter.
Successfully toggled the word filter **{toggle}**.
[S_WORDFILTER_IGNORE_ADD]
Successfully added **{changed}** to be ignored by the word filter.
Successfully added {changed} to be ignored by the word filter.
[S_WORDFILTER_IGNORE_REMOVE]
Successfully removed **{changed}** from being ignored by the word filter.
Successfully removed {changed} from being ignored by the word filter.
[S_WORDFILTER_IGNORE_SET]
Successfully set **{changed}** to be ignored by the word filter.
Successfully set {changed} to be ignored by the word filter.
[S_WORDFILTER_IGNORE_RESET]
Successfully reset the ignored channels for the word filter.
[S_WORDFILTER_BYPASS_ADD]
Successfully added {changed} to be ignored by the word filter.
Successfully added **{changed}** to the word filter bypass list.
[S_WORDFILTER_BYPASS_REMOVE]
Successfully removed {changed} from being ignored by the word filter.
Successfully removed **{changed}** from the word filter bypass list.
[S_WORDFILTER_BYPASS_SET]
Successfully set {changed} to be ignored by the word filter.
Successfully set the word filter bypass list to **{changed}**.
[S_WORDFILTER_BYPASS_RESET]
Successfully reset the ignored channels for the word filter.
Successfully reset the word filter bypass list.
[S_WORDFILTER_SILENT_TOGGLE]
Successfully toggled word filter silent mode **{toggle}**.
@ -457,16 +457,16 @@ Successfully set {changed} to be ignored by the link filter.
Successfully reset the ignored channels for the link filter.
[S_LINKFILTER_BYPASS_ADD]
Successfully added {changed} to be ignored by the link filter.
Successfully added **{changed}** to the link filter bypass list.
[S_LINKFILTER_BYPASS_REMOVE]
Successfully removed {changed} from being ignored by the link filter.
Successfully removed **{changed}** from the link filter bypass list.
[S_LINKFILTER_BYPASS_SET]
Successfully set {changed} to be ignored by the link filter.
Successfully set the link filter bypass list to **{changed}**.
[S_LINKFILTER_BYPASS_RESET]
Successfully reset the ignored channels for the link filter.
Successfully reset the link filter bypass list.
[S_LINKFILTER_SILENT_TOGGLE]
Successfully toggled link filter silent mode **{toggle}**.
@ -495,16 +495,16 @@ Successfully set {changed} to be ignored by the invite filter.
Successfully reset the ignored channels for the invite filter.
[S_INVITEFILTER_BYPASS_ADD]
Successfully added **{changed}** to be ignored by the invite filter.
Successfully added **{changed}** to the invite filter bypass list.
[S_INVITEFILTER_BYPASS_REMOVE]
Successfully removed **{changed}** from being ignored by the invite filter.
Successfully removed **{changed}** from the invite filter bypass list.
[S_INVITEFILTER_BYPASS_SET]
Successfully set **{changed}** to be ignored by the invite filter.
Successfully set the invite filter bypass list to **{changed}**.
[S_INVITEFILTER_BYPASS_RESET]
Successfully reset the ignored channels for the invite filter.
Successfully reset the invite filter bypass list.
[S_INVITEFILTER_SILENT_TOGGLE]
Successfully toggled invite filter silent mode **{toggle}**.
@ -646,10 +646,10 @@ 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}`
Successfully added the following roles to the channel ignore bypass: **{changes}**
[S_IGNORE_BYPASS_REMOVE]
Successfully removed the following roles from the ignore bypass: `{changes}`
Successfully removed the following roles from the channel ignore bypass: **{changes}**
//moderationLog Setting
@ -758,16 +758,16 @@ Successfully set {changed} to be ignored by the message logger.
Successfully reset the ignored channels for the message logger.
[S_MESSAGELOG_BYPASS_ADD]
Successfully added {changed} to be ignored by the message logger.
Successfully added **{changed}** to the message logger bypass list.
[S_MESSAGELOG_BYPASS_REMOVE]
Successfully removed {changed} from being ignored by the message logger.
Successfully removed **{changed}** from the message logger bypass list.
[S_MESSAGELOG_BYPASS_SET]
Successfully set {changed} to be ignored by the message logger.
Successfully set the message logger bypass list to **{changed}**.
[S_MESSAGELOG_BYPASS_RESET]
Successfully reset the ignored channels for the message logger.
Successfully reset the message logger bypass list.
# [S_MESSAGELOG_ROLES]
# Successfully {action} the following roles: {changed}