Skip to main content

Filters and Templates

Danbot allows you to automate responses and schedule recurring messages to keep your community engaged and informed without manual effort.

🔍 Message Filters

Filters allow Danbot to monitor group messages and automatically respond when specific trigger words or phrases are detected.

/filter

Creates an automatic response. Filters are case-insensitive and match anywhere within a message.

/filter <trigger> <response>         — Plain text response
/filter <trigger> ai:<response> — AI-enhanced response (Danbot riffs on it)
/filter <trigger> template:<id> — Use a saved template as the response
/filter <trigger> clear — Remove a specific filter

Examples:

  • /filter website https://myproject.com (Standard link response)
  • /filter wen ai:Tell them about our upcoming launch timeline (Danbot will generate a creative AI response based on your prompt)
  • /filter rules template:3 (Replies with the content of Template ID 3)

/filters

Lists all active filters configured for your group.

📋 Message Templates

Templates are reusable messages that can be triggered by filters or assigned to post automatically on a recurring schedule.

/createtemplate

Saves a new message template.

/createtemplate "Title" "Content" <hours>
  • Title: A descriptive name (in quotes).
  • Content: The message text (in quotes).
  • hours: The repeat interval (optional if just using for filters).

Use /listtemplates to see all saved templates and their IDs.

/assigntemplate & /unassigntemplate

Assigns a saved template to the current chat to begin posting it automatically on its defined schedule.

/assigntemplate <id>       — Start scheduled posting
/unassigntemplate <id> — Stop scheduled posting

/listassignments

Shows all templates currently scheduled to post in the active chat.


Next: Configure AI Responses & Modes or set up Moderation & Security.