✨ Smart Triggers
Smart Triggers are moderation rules written in plain English. Instead of matching exact keywords, you describe what kind of message should trigger an action — the AI evaluates each message against your prompt and acts on confident matches.
Overview
When configured, the agent can:
- Judge every message against prompts you write, with no keyword lists to maintain
- Apply each rule to all members or only to new members
- Delete, warn, timeout, kick, or ban on a match — or respond with a reply or a channel message
- Catch things keyword filters can't express, like intent, tone, or impersonation attempts
Configuration
To configure Smart Triggers:
- Open your project in the Fren One webapp.
- Select the Discord server you want to configure.
- In the sidebar under Agent Configuration, select AI Features, then the Smart Triggers tab.
- Toggle "Let AI evaluate messages against custom prompts" on.
- Select Add Trigger and fill in the editor.
Each trigger in the list shows its prompt, action pills, a "New members only" pill when scoped, and a plain-English summary of what it does.
Prompt
Under "When should this trigger fire?", describe what kind of message should trigger an action — the AI evaluates each message against this prompt. Required. Write it as a yes/no decision the AI can make about a single message:
- "Is this message asking for the official contract address?"
- "Is this message impersonating support staff?"
- "Does this message contain hate speech or a personal attack?"
Scope
Under "Who does this apply to?", choose All Members or New Members Only. New members are defined by the new-member criteria on the Moderation page.
Actions
Under "What should happen?", select at least one action:
| Action | Description |
|---|---|
| Delete message | Removes the matching message. |
| Warn member | Issues a warning through the warning system. |
| Timeout member | Times the member out. Reveals Timeout duration (seconds) — up to 2,419,200 seconds (28 days). |
| Kick member | Kicks the member from the server. |
| Ban member | Bans the member. |
| Reply to message | Replies to the matching message. Reveals a required Reply message field. |
| Send message | Posts a message to the channel. Reveals a required Message field. |
Some combinations are mutually exclusive:
- Only one punishment at a time — Warn, Timeout, Kick, and Ban can't be combined.
- Reply to message and Send message are exclusive — pick one.
- Delete message and Reply to message are incompatible (there's nothing left to reply to).
How it works in Discord
The AI evaluates each new message against your prompts as a background task, so actions fire with a slight delay after the message is posted. Only high-confidence matches (0.85 or above) execute the configured actions — borderline messages are left alone.
Smart Triggers vs. Triggers vs. Automations
Three systems act on messages; pick the right one:
- Smart Triggers (this page) — the AI interprets a natural-language prompt. Best for rules about meaning or intent.
- Keyword Triggers — exact pattern matching (contains, exact, starts with, ends with, regex). Instant, deterministic, no AI required.
- Automations — event → condition → action workflows that go beyond messages (reactions, role changes, threads, voice, joins).
Saving your changes
This page uses a batched save — new, edited, and deleted triggers stay local until you select Save in the bar at the bottom of the page. Deleting a trigger marks it as pending with an undo option until you save; leaving with unsaved changes shows a warning.
Best practices
- Phrase each prompt as a yes/no question about a single message — the AI answers it for every message it sees.
- One behavior per trigger. Two narrow triggers beat one broad, ambiguous one.
- Start with Reply to message or Warn member to see what a new prompt matches before escalating to kicks or bans.
- Use New Members Only scope for scam patterns that established members never post — it cuts false positives on regulars.
A smart trigger with Ban member or Kick member acts on the AI's judgment, not an exact match. Test new prompts with a milder action first.
Troubleshooting
A trigger isn't firing?
- Check the master toggle "Let AI evaluate messages against custom prompts" is on and your changes are saved.
- The AI only acts on high-confidence matches — a vague prompt produces uncertain judgments that don't fire. Make the prompt more specific.
- Smart triggers require the AI service; they no-op silently when it's unavailable.
Actions seem delayed?
- Evaluation runs in the background, so a short delay between the message and the action is normal.
Related features
- 🔨 Keyword Triggers - Deterministic pattern-matching rules without AI
- ⚙️ Automations - Event-based workflows with conditions and actions
- 🤖 AI Assistant - The conversational side of the AI service
- 🚫 Spam & Impersonation - Purpose-built AI screening for new members