BuildcordDocs

Event

Start a flow when something happens in a server, such as a member joining or a message being edited.

trigger.event runs when something happens in a server.

Settings

SettingWhat it does
EventThe thing to react to: members joining, leaving, changing or being banned; messages sent, edited or deleted; reactions added or removed; joining, moving between or leaving voice; channels, roles, threads and invites being made. See Events.

Ways out

out.

Produces

Each event provides its own tokens. A member-joins flow has {member.joinedAt}, and a message flow has {message.content}. See Events for every token.

Notes

  • Event flows need a gateway bot, which the paid plan includes. See Plans.
  • Some events need a privileged gateway intent. The builder lists those before you deploy.
  • Be careful with Message sent. It fires for every message the bot can read, so put a Comparison or Channel check first.

Example

React to Member joins with a Send to a channel step that welcomes {user.mention}.

On this page