forked from Galactic/galactic-bot
small misc fixes
This commit is contained in:
parent
a7e531afef
commit
722b514cef
@ -210,8 +210,8 @@ Configure automatic infraction escalation & other automated moderation behaviour
|
||||
|
||||
// Grantable
|
||||
[SETTING_GRANTABLE_HELP]
|
||||
Require anyone without "Manage Roles" permission to only add or remove the specified roles.
|
||||
This is primarily used for servers who grant the addrole/removerole commands via bot permissions.
|
||||
Let anyone without "Manage Roles" permission to add or remove the specified roles.
|
||||
Defines the roles that can be managed with the `/roles add|remove` command.
|
||||
|
||||
// Invite filter
|
||||
[SETTING_INVITEFILTER_HELP]
|
||||
|
@ -169,7 +169,7 @@ class LinkFilterSetting extends FilterSetting {
|
||||
return actionObject;
|
||||
}
|
||||
await response.delete();
|
||||
if (['cancel', 'abort', 'exit'].includes(action.toLowerCase())) return {
|
||||
if (['cancel', 'abort', 'exit'].includes(response.content.toLowerCase())) return {
|
||||
error: true,
|
||||
message: interaction.format('ERR_CANCEL')
|
||||
};
|
||||
|
@ -170,7 +170,7 @@ class WordFilterSetting extends FilterSetting {
|
||||
return actionObject;
|
||||
}
|
||||
await response.delete();
|
||||
if (['cancel', 'abort', 'exit'].includes(action.toLowerCase())) return {
|
||||
if (['cancel', 'abort', 'exit'].includes(response.content.toLowerCase())) return {
|
||||
error: true,
|
||||
message: interaction.format('ERR_CANCEL')
|
||||
};
|
||||
|
@ -379,7 +379,7 @@ class FilterSetting extends Setting {
|
||||
}),
|
||||
color: 619452
|
||||
};
|
||||
if (embed.fields.length % 3 === 2) embed.fields.push({
|
||||
if (embed.fields.length % 3 !== 2) embed.fields.push({
|
||||
name: '\u200b',
|
||||
value: '\u200b',
|
||||
inline: true
|
||||
|
Loading…
Reference in New Issue
Block a user