Help Topics

Bot Custom Commands

Bots can have custom commands that respond to specific triggers. When a user types the bot's command prefix followed by the bot name and a trigger word, the bot replies with the configured response.

Syntax

!BotName trigger

The prefix (! by default) and bot name are required before the trigger word. For example, if a bot named "FAQ" has a command "rules":

!FAQ rules

Creating Commands

Use the /bot addcmd command or the Bot Management dialog:

/bot addcmd FAQ rules Please read the #rules channel
/bot addcmd FAQ hours We're available 9am-5pm EST

Each command has a trigger (the word users type) and a response (what the bot says). An optional description is shown in the !BotName help listing.

Template Placeholders

Command responses support dynamic placeholders:

  • {nickname} — the user who invoked the command
  • {channel} — the channel where the command was used
  • {prefix} — the bot's command prefix
  • {botname} — the bot's name
/bot addcmd FAQ welcome Hello {nickname}, welcome to {channel}!

Built-in Help Command

If the Help capability is enabled, typing !BotName help lists all available commands with their descriptions. This is automatic — no setup required.

!FAQ help

Rules & Limits

  • Triggers must be unique per bot (case-sensitive)
  • The Custom Commands capability must be enabled on the bot
  • Only admins and server operators can add or remove commands
  • Bot cooldown applies — rapid invocations may be ignored

Managing via Dialog

Open the Bot Management dialog (Tools → Bot Management), select a bot, and click the Commands tab. Use Add Command... to create new commands or Remove to delete existing ones.

See Also

BotService Overview · /bot Command Reference