Automations
Event triggers
Event-based automations and their filters.
Event triggers fire in response to Discord activity. Each event exposes a payload that becomes context in the automation body.
Filters#
Event automations support filters to narrow when they fire:
Channel IDs
Only fire in the listed channels. Blank means all.
Role IDs
Only fire when the invoker has one of these roles.
Keyword filter
For message_sent: only match if the content matches (contains/exact/starts-with/ends-with/regex).
Ignore bots
On by default. Prevents bot messages and joins from triggering.
Context available#
For every event, the automation body has access to these variables:
server
Server object with id, name, member_count.
user
Event user object with id, name, tag, mention.
member
Guild member object with id, nickname, joined_at, roles.
channel
Event channel (for message events).
message
Trigger message (for message events) with id, content, url.