diff options
| author | Fuwn <[email protected]> | 2025-10-27 18:30:27 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-10-27 18:30:27 -0700 |
| commit | fc75434f9357fc97e9d140d7f47ccc5d8bce401c (patch) | |
| tree | f00bb085b6a34510c6caea771bc1f5591e6b3922 | |
| parent | fix(commands:characterClaimUsage): Improve request matching (diff) | |
| download | umabotdiscord-fc75434f9357fc97e9d140d7f47ccc5d8bce401c.tar.xz umabotdiscord-fc75434f9357fc97e9d140d7f47ccc5d8bce401c.zip | |
feat(listeners:autoDeletion): Add additional banned strings
| -rw-r--r-- | packages/gateway/src/listeners/autoDeletion.ts | 6 |
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(); |