regex preset tweaks

This commit is contained in:
Erik 2021-06-09 21:37:41 +03:00
parent 28606845b1
commit b8319a4b36
No known key found for this signature in database
GPG Key ID: 7E862371D3409F16
2 changed files with 2 additions and 2 deletions

View File

@ -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}`

View File

@ -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)?",