Concepts
Actions
Actions are custom automations. Each action has a trigger, which decides when it runs, and a script, which decides what happens.
You can create actions for slash commands, messages, reactions, schedules, webhooks, buttons, and more. A Slash Command action might reply to /rules. A Message Create action might greet someone who says a particular phrase.
Triggers also provide context. A message action knows about the message, its author, and its channel. Its script can use {message}, {user}, and {channel} without looking them up.
Start with Your First Action, then choose a specific action trigger.