Understanding Behaviors

Learn how behaviors work and how they form the foundation of your Discord bot.

What is a Behavior?

A behavior is a single unit of functionality in your bot. It consists of a trigger (what starts it) and one or more actions (what it does). Every feature of your bot is made up of one or more behaviors.

Anatomy of a Behavior

Trigger

The condition that activates the behavior

Example: When someone joins the server

Actions

What the bot does when triggered

Examples:
  • Send message to #welcome
  • Give @Member role

Trigger Types

Event Triggers

Triggered by Discord events like member joins, leaves, bans, etc.

• Member Join
• Member Leave
• Member Ban
• Member Update
• Role Create/Delete
• Channel Create/Delete

Command Triggers

Triggered when a user runs a specific command.

Slash Commands: /kick, /ban, /help
Prefix Commands: !help, !rules, !info

Message Triggers

Triggered when a message matches certain conditions.

• Contains word
• Exact match
• Starts with
• Regular expression
😀

Reaction Triggers

Triggered when users react to messages.

• Reaction Added
• Reaction Removed

Action Types

Messages
  • Send Message
  • Send Embed
  • Reply to Message
  • DM User
Roles
  • Add Role
  • Remove Role
  • Toggle Role
Moderation
  • Kick User
  • Ban User
  • Timeout User
  • Delete Message
Channels
  • Create Channel
  • Delete Channel
  • Update Permissions
Variables
  • Set Variable
  • Increment Counter
  • Store Data
Other
  • Wait/Delay
  • HTTP Request
  • Log to Channel

Example: Welcome Bot Behavior

TRIGGERMember Join Event

When a new member joins the server

ACTIONSWhat happens next
1

Send Message

Channel: #welcome

Content: "Welcome [username]! We're glad to have you."

2

Add Role

Role: @Member

Target: The user who joined

Managing Behaviors

You can manage behaviors from your bot's configuration page:

  • View: Click on any behavior to see its details
  • Edit: Modify triggers and actions after creation
  • Enable/Disable: Toggle behaviors on or off without deleting them
  • Delete: Remove behaviors you no longer need
  • Duplicate: Copy a behavior to make variations

Overview Tab

Track All Your Bot's Features

As your bot grows, the Overview tab helps you keep track of everything. It shows all your commands, event listeners, message triggers, and scheduled tasks in one organized view.

Features:
  • • View all commands at a glance
  • • Copy command names with one click
  • • See event listeners and triggers
  • • Filter by search query
  • • Show/hide disabled behaviors
Categories:
  • • 🔵 Commands (/help, /ban, etc.)
  • • 🟣 Event listeners (joins, leaves)
  • • 🟢 Message triggers (keywords)
  • • 🟠 Reaction triggers (role menus)
  • • 🔷 Scheduled tasks (cron jobs)

Auto-Generated Help Command

One-Click /help Command

Let your Discord users see all available commands! Click "Generate" in the Overview tab to automatically create a /help command that lists all your bot's commands in a clean embed.

The /help command will show:

  • • All enabled slash commands
  • • Command descriptions
  • • Total command count