forked from Galactic/galactic-bot
regex preset tweaks
This commit is contained in:
parent
28606845b1
commit
b8319a4b36
@ -100,7 +100,7 @@ class GuildLogger extends Observer {
|
||||
name: `${message.author.tag} (${message.author.id})`,
|
||||
icon_url: message.author.displayAvatarURL({ size: 32 }) //eslint-disable-line camelcase
|
||||
},
|
||||
description: Util.escapeMarkdown(message.content).replace(/\\n/gu, ' '),
|
||||
description: Util.escapeMarkdown(message.content)?.replace(/\\n/gu, ' '),
|
||||
color: CONSTANTS.COLORS.RED,
|
||||
footer: {
|
||||
text: `Message deleted in #${message.channel.name} | Message ID: ${message.id}`
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"regex": {
|
||||
"slurs": [
|
||||
"n(ae|ea|ji|j|y|i|x|!|1|\\||l)(gg?|qq|99?|bb)(?!ht)((e|3)r|let|ur|\\s?nog|y|ah?|or)?s?",
|
||||
"n(ae|ea|ji|j|y|i|x|!|1|\\||l)(gg?|qq|99?|bb)(?!(ht|el))((e|3)r|let|ur|\\s?nog|y|ah?|or)?s?",
|
||||
"(?<!u)niqa?",
|
||||
"nick\\s?(gurr?|ger|ga)",
|
||||
"(fur\\s?)?f(e|a|4|x)(gg?|qq?|99?)(otry|ots|ot|y|s)?",
|
||||
|
Loading…
Reference in New Issue
Block a user