From 7259f6017e747efd82edbd39b058995600e1e757 Mon Sep 17 00:00:00 2001 From: almeidx Date: Sun, 20 Feb 2022 02:05:57 +0000 Subject: [PATCH] chore: remove double parenthesis in match_attachment_type trigger --- backend/src/plugins/Automod/triggers/matchAttachmentType.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/plugins/Automod/triggers/matchAttachmentType.ts b/backend/src/plugins/Automod/triggers/matchAttachmentType.ts index d905fbc0..142e7b0e 100644 --- a/backend/src/plugins/Automod/triggers/matchAttachmentType.ts +++ b/backend/src/plugins/Automod/triggers/matchAttachmentType.ts @@ -72,7 +72,7 @@ export const MatchAttachmentTypeTrigger = automodTrigger()({ return ( asSingleLine(` Matched attachment type \`${Util.escapeInlineCode(matchResult.extra.matchedType)}\` - (${matchResult.extra.mode === "blacklist" ? "(blacklisted)" : "(not in whitelist)"}) + (${matchResult.extra.mode === "blacklist" ? "blacklisted" : "not in whitelist"}) in message (\`${contexts[0].message!.id}\`) in ${prettyChannel}: `) + messageSummary(contexts[0].message!) );