Skip to main content

Suspicious Words

Alert moderators when a message contains a phrase from your watch list, even when the author disguises it with accents, symbols, or digits.

Why Use This Feature?

  1. Matches disguised spellings such as "s33d phr4se" or "SEED-phrase", so simple tricks don't hide a phrase from moderators.
  2. Groups phrases into categories, so each alert says why the message was flagged.
  3. Stays observation-only, so moderators decide what happens to the message.

How It Works

  • What it reads — New messages and edits that change a message's text, from members other than bots.
  • How it cleans text — The bot applies the same normalization to your phrases and to each message before comparing them.
  • How it matches — A phrase matches only as whole words, so "scam" matches "sc4m alert" but not "scammer".
  • What it posts — One embed per message, titled "Suspicious phrase detected", listing every category that matched.

The normalization steps, in order:

  1. Accents and other marks are removed, and styled or fullwidth letters become plain ones.
  2. Symbols and punctuation become spaces, so "seed-phrase" reads as "seed phrase".
  3. Digits become letters: 0 to o, 1 to l, 2 to z, 3 to e, 4 to a, 5 to s, 6 to g, 7 to t, 8 to b, and 9 to q.
  4. Repeated spaces collapse into one, and the text is lowercased.

The embed shows the author, the channel ID, the matching categories, an excerpt of up to 700 characters, and a link to the message. Suspicious words runs before regex rules and affiliate cleanup, so the link can point to a message another feature deleted a moment later.

These alerts post only in your Discord alert channel, while Notifications sends alerts about the bot itself to your phone or inbox.

Requirements

Settings

FieldDescription
Phrase categories (categories)1 to 100 categories.
Category (categories[].category)The category's name, shown in each alert, up to 100 characters.
Words and phrases (categories[].words)1 to 250 phrases, each up to 200 characters.
Alert destination → Channel (channel)The alert channel, required.

The feature rejects a category whose phrases contain no letters or digits after cleanup. The Words and phrases field takes one phrase per line, so a phrase can contain a comma.

Example

Suspicious words settings
json
{
  "categories": [
    { "category": "Credential theft", "words": ["send me your password", "verify your account"] },
    { "category": "Invite spam", "words": ["join my server"] }
  ],
  "channel": { "channel-id": "123456789012345678" }
}

Limits

  • Phrases — 100 categories with up to 250 phrases each.
  • Excerpt — Up to 700 characters of the message.
  • Alert body — The complete alert is shortened to Discord's 4,096-character embed-description limit when a long category list would exceed it.

Troubleshooting

Changes from the legacy bot

The legacy bot deleted punctuation instead of turning it into spaces, and it didn't clean your phrases, so a phrase with capital letters never matched. The rewrite cleans both sides the same way and uses a new embed layout.