summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-10-27 18:30:27 -0700
committerFuwn <[email protected]>2025-10-27 18:30:27 -0700
commitfc75434f9357fc97e9d140d7f47ccc5d8bce401c (patch)
treef00bb085b6a34510c6caea771bc1f5591e6b3922 /packages
parentfix(commands:characterClaimUsage): Improve request matching (diff)
downloadumabotdiscord-fc75434f9357fc97e9d140d7f47ccc5d8bce401c.tar.xz
umabotdiscord-fc75434f9357fc97e9d140d7f47ccc5d8bce401c.zip
feat(listeners:autoDeletion): Add additional banned strings
Diffstat (limited to 'packages')
-rw-r--r--packages/gateway/src/listeners/autoDeletion.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/gateway/src/listeners/autoDeletion.ts b/packages/gateway/src/listeners/autoDeletion.ts
index 088cfad..d7d6734 100644
--- a/packages/gateway/src/listeners/autoDeletion.ts
+++ b/packages/gateway/src/listeners/autoDeletion.ts
@@ -2,7 +2,11 @@ import { Client, Events, Message } from "discord.js";
import { CENTRAL_GUILD_ID, ROLEPLAY_GUILD_ID } from "../constants";
import { logUnexpectedDiscordAPIError } from "../utilities";
-const BANNED_STRINGS = ["https://cdn.miki.bot/ext/imgh/1dGU5ggsHZ.gif"];
+const BANNED_STRINGS = [
+ "https://cdn.miki.bot/ext/imgh/1dGU5ggsHZ.gif",
+ "https://cdn.miki.bot/ext/imgh/1dpRiChJtF.gif",
+ "https://cdn.miki.bot/ext/imgh/1dpRiChJtF.gif",
+];
const containsBannedString = (message: Message): boolean => {
const content = message.content.toLowerCase();