Custom Commands

Custom Commands let you create your own slash commands for your server. Members run /yourcommand and the bot replies with the message or embed you define — no coding required. Everything is managed from the web dashboard.


⚡ How it works

  1. Enable the Custom Commands feature for your server.
  2. Open the dedicated Custom Commands page.
  3. Click New command, pick a name and write the reply.
  4. Save — the command is registered on your server automatically.

Members can use it within a few moments. Whenever you add, edit or delete a command, YAWBDB re-registers your server's commands for you.

Prefer !rules to /rules? Set a text prefix on Features → Text commands and every command on this page also answers to it, simple and graph mode alike. Details, and the list of what a prefix cannot reach: Text commands and the prefix.


✍️ Building a command

Each command has:

Text reply

Just write the message the bot should send. Great for quick answers, links, or server info.

Embed reply

Build a formatted card with:

An embed needs at least a title or a description.


🧩 Advanced mode: command graphs

Switch a command to Advanced (graph) to design its behavior in the same visual node editor used by the Leveling reward graph. Instead of a fixed reply, you chain nodes:

The Reply action

A command graph must contain at least one Reply action — that's the message the member sees. Replies support dynamic variables: {username}, {level}, {xp}, {streak}, {prestige}, {server}. If conditions filter out every Reply for a given run, the bot simply acknowledges the command with a ✓.

{prestige} pairs naturally with the Has prestige condition: gate a reply on a prestige rank, then name that rank in the message.

You can add several Reply actions on different branches — for example a different answer for boosters, or a random pick between multiple responses.

✨ Let the assistant build it

The Graph Assistant can draft a command graph from a description and propose it for you to review.

ℹ️ Checking what a card can do here

Every card has an (i) button that shows what it reads, which field would make it do nothing, and the variables valid on it. It is worth opening in a command graph in particular, because a command carries less information than a leveling event.

The panel crosses out anything unavailable, so you can see it at a glance rather than discovering it on a graph that never fires. A command knows the member's level, XP, streak, prestige, roles, account age and time on the server — but it has no notion of what those values were before, and no XP-event or Wordle context. Cards built around a change, such as On XP threshold, therefore have nothing to compare against here.

Full description of the panel: Reward graph.

Ideas

The graph editor needs a desktop screen; on mobile you'll see a read-only summary.


⚙️ Options

Option What it does
Restrict to roles Only members with one of the selected roles can use the command. Leave empty to allow everyone.
Cooldown Minimum delay (in seconds) between uses, per member. 0 means no cooldown.
Reply only visible to the member The reply is shown privately (ephemeral) to the person who ran the command.
Enabled Turn a command on or off without deleting it.

🚫 Reserved names

A custom command can't reuse a name already used by one of the bot's built-in commands (such as rank, leaderboard, report, ticket, wordle, voice…). The dashboard will tell you if a name is taken.

Each command name must also be unique on your server.


📦 Limits

Depending on your setup, the number of custom commands per server may be limited. The page shows your current count against the limit when one applies. Discord itself caps the total number of commands per server, shared with the bot's built-in ones.


👍 Recommended setup

  1. Enable the feature and open the Custom Commands page.
  2. Create a simple /rules or /info text command to start.
  3. Add an embed command for something richer, like /socials.
  4. Use Restrict to roles for staff-only commands.
  5. Add a small cooldown to commands people might spam.

💡 Best practices