Skip to main content

🧠 Smart Triggers

Smart Triggers filter user messages based on custom prompts to an AI (LLM). This powerful feature allows you to create sophisticated content moderation rules using natural language, leveraging the intelligence of AI models to evaluate messages automatically.

Overview

Unlike traditional triggers that rely on keyword matching, Smart Triggers use Large Language Models (LLMs) to understand context, intent, and meaning in messages. You define a yes/no question, and the AI evaluates each message to determine if it matches your criteria, then takes the actions you've configured.

Configuration

To access Smart Triggers:

  1. Use the /settings command in your chat
  2. Navigate to 🤖 AI🧠 Smart triggers
  3. Toggle the feature 🟢 Enabled or 🔴 Disabled

Main Settings

🧠 Smart triggers

Manage your triggers for this community.

Features:

  • View all configured smart triggers
  • Create new triggers
  • Edit existing triggers
  • Delete triggers you no longer need
  • See trigger configuration at a glance

Creating a Smart Trigger

To create a new smart trigger:

  1. Go to Triggers menu
  2. Select + Create Trigger
  3. Configure the following settings:

Trigger Configuration

Prompt

The yes/no question sent to the AI to decide whether to trigger an action.

Format: Frame your moderation rule as a question the AI can answer with yes or no.

Example prompts:

Does this message make reference to price action?
Is this message asking about when tokens will be listed on exchanges?
Does this message contain financial advice or investment recommendations?
Is this user promoting another project?
Does this message include personal attacks or harassment?

Prompt writing tips:

  • Be specific and clear
  • Frame as a yes/no question
  • Focus on one concept per trigger
  • Test with various message types
  • Consider edge cases
Effective Prompts

Good prompts are specific, unambiguous, and focus on detectable characteristics. Instead of "Is this spam?", use "Does this message contain promotional links to external services?"

Actions

The action to be taken when this trigger is triggered (when AI answers "yes").

Available actions:

  • Delete message: Remove the triggering message
  • Mute: Silence the user (set duration)
  • Kick: Remove user from the group (can rejoin)
  • Ban: Permanently ban user from the group
  • Warn: Issue a warning to the user
  • Reply: Send a reply to the triggering message
  • Send message: Send a standalone message to the chat

Multiple actions: You can combine actions for comprehensive responses.

Example combinations:

  • Warn + Send message: "Please refrain from discussing price here, thanks!"
  • Delete message + Mute: Remove and timeout
  • Warn + Reply: Direct feedback to user
  • Delete message + Send message: Remove and explain why

New users only

Apply this trigger only to new users to reduce API usage.

Options:

  • ✅ Yes: Only evaluate messages from new users
  • ❌ No: Evaluate all non-admin messages

When to enable:

  • When the issue primarily affects new members (e.g., spam bots)
  • To reduce credit costs for high-volume groups
  • When established members understand the rules

When to disable:

  • When the rule applies to everyone equally
  • For critical moderation rules (harassment, illegal content)
  • In smaller communities where API cost isn't a concern

Saving Your Trigger

After configuring all settings:

  1. Click 💾 Save to activate the trigger
  2. The bot will confirm creation
  3. The trigger will appear in your triggers list

Managing Smart Triggers

Viewing Triggers

In the Triggers menu, you can see:

  • List of all configured smart triggers
  • Prompt for each trigger
  • Actions configured
  • New users only status

Example trigger display:

🧠 Smart trigger 1
💭 Prompt: Does this message discuss price action?
💥 Actions:
• warn
• Send message: Please refrain from discussing price here, thanks!
👶 New users only: ❌ No

Editing Triggers

To modify an existing trigger:

  1. Select the trigger from the list
  2. Choose ✏️ Edit
  3. Modify prompt, actions, or settings
  4. Click 💾 Save

Deleting Triggers

To remove a trigger:

  1. Select the trigger from the list
  2. Choose 🗑️ Delete
  3. Confirm deletion

Common Use Cases

Preventing Price Discussion

Scenario: Stop price speculation in main chat.

Configuration:

  • Prompt: "Does this message make reference to price action, price predictions, or ask about token price?"
  • Actions: Delete message + Send message
  • Message: "💰 Price discussion is not allowed here. Join #price-talk instead!"
  • New users only: No

Blocking Financial Advice

Scenario: Prevent users from giving investment advice.

Configuration:

  • Prompt: "Does this message contain financial advice, investment recommendations, or tell people to buy/sell?"
  • Actions: Delete message + Warn
  • New users only: No

Redirecting Support Questions

Scenario: Keep main chat clean by redirecting support to proper channel.

Configuration:

  • Prompt: "Is this message asking for technical support or help with an issue?"
  • Actions: Reply
  • Reply message: "👋 For technical support, please visit #support channel or open a ticket!"
  • New users only: Yes

Preventing Competitor Promotion

Scenario: Stop promotion of competing projects.

Configuration:

  • Prompt: "Is this message promoting or recommending another cryptocurrency project or token?"
  • Actions: Delete message + Mute (1 hour)
  • New users only: No

Scenario: Prevent referral and affiliate link spam.

Configuration:

  • Prompt: "Does this message contain a referral link, affiliate link, or ask people to sign up using a code?"
  • Actions: Delete message + Warn
  • New users only: Yes

Detecting Misinformation

Scenario: Flag potential misinformation for review.

Configuration:

  • Prompt: "Does this message make false claims about the project, team, or partnerships?"
  • Actions: Delete message + Send message (to mods channel)
  • Message: "⚠️ Potential misinformation detected - please review"
  • New users only: No

Troubleshooting

Trigger not activating?

  • Verify Smart Triggers are enabled (🟢)
  • Check API key is configured correctly
  • Test the prompt with obvious examples
  • Ensure bot has necessary permissions for actions

Too many false positives?

  • Refine your prompt to be more specific
  • Add context and examples to prompt
  • Try a more advanced model (GPT-4)
  • Test prompt variations

Too many false negatives?

  • Broaden your prompt language
  • Include examples of what should be caught
  • Consider multiple triggers for related issues
  • Try a different AI model

High API costs?

  • Enable "New users only" where appropriate
  • Use ASI:Cloud instead of OpenAI
  • Use GPT-3.5 instead of GPT-4
  • Reduce number of active triggers
  • Combine similar prompts into one

Slow response times?

  • Choose faster models (GPT-3.5, ASI Mini)
  • Reduce complexity of prompts
  • Check API provider status
  • Consider caching for repeated content

API key not working?

  • Verify key is correctly copied (no extra spaces)
  • Check API credits/billing status
  • Ensure key has necessary permissions
  • Try regenerating the key
  • For ASI:Cloud, verify account is active

Messages in wrong language?

  • Some models handle specific languages better
  • Try different models for non-English content
  • Include language specification in prompt
  • Consider using multilingual models