Custom commands
Set up, update, and remove custom chat commands, keyword replies, and repeating timers with tailored access levels and cooldowns.
Custom commands let you define your own chat replies—for instance, posting your server invite whenever someone types !discord. You and your moderators can manage them straight from chat or in the dashboard.
Looking for ready-made bot tools like !poll? Check Built-in commands. !so ships as an editable default custom command, so you can customize its reply, cooldown, or Who can use it setting via !ec or the dashboard. Its saved access setting decides who can run it, even when the reply uses functions that are restricted in AI chat.
Create a command
Section titled “Create a command”Start with !cc, followed by the command name (leaving off !) and the reply:
!cc <name> <reply>Example:
😎 Streamer: !cc discord Check out my Discord! discord.gg/example🤖 DomDimaBot: Command discord createdWith options:
!cc -cd=300 -ul=tier1 discord Subscribers-only Discord link! discord.gg/subonly🤖 DomDimaBot: Command discord created| Option | What it sets | Default |
|---|---|---|
-cd= | Wait time in seconds between uses. Plan minimums: Free 5, Premium 3, Pro 1. One editable command per channel may use 0. | 10 |
-ul= | Access level. Pass a number from 1 to 10 or a lowercase name from the table below. | 1 (everyone) |
| Number | Name | Who |
|---|---|---|
1 | everyone | Anyone in chat |
2 | tier1 | Subscribers |
3 | tier2 | Tier 2 subs |
4 | tier3 | Tier 3 subs |
5 | vip | VIPs |
6 | founder | Founders |
7 | mod | Mods and above |
8 | editor | Editors and above |
9 | admin | Admins and above |
10 | broadcaster | Only you (streamer also works) |
-ul=7 and -ul=mod are equivalent. Always put options ahead of the command name and write level names like mod in lowercase. Replies created from chat can be up to 450 characters long.
Common chat responses you might run into:
Command already exists: that name is already in use, including the defaultsocommand. Run!ec so <new reply>to update it instead of creating a duplicate with!cc.Command cooldown must be 0 or at least N seconds: your-cd=value is shorter than your plan allows.User level X is invalid: the-ul=value doesn’t match any level in the table.
- Go to Commands in the navbar.
- Click New command (or New keyword if you want the bot to reply to a word without
!). - Enter a Name (the word after
!) and write the Reply. - Pick Wait between uses and Who can use it.
- Optional: toggle on Repeat this command on a timer and pick the interval in minutes.
- Click Create.
Example data for DemoStreamer.
Edit, turn off, or delete a command
Section titled “Edit, turn off, or delete a command”- Edit a text reply: Run
!ec <name> <new reply>. Replies built with blocks need to be edited on the dashboard. - Change only the cooldown or access: Run
!ec -cd=<seconds> <name>or!ec -ul=<level> <name>, putting options before the name and omitting the reply to keep it unchanged. - Delete: Run
!dc <name>. Reserved built-in commands cannot be removed, though editable default templates can. - Turn on or off: Run
!enable <name>or!disable <name>(with or without!).
Editing or deleting a command requires an access level at least as high as the command’s own level. Commands configured with tags or account rules can only be managed by moderators in chat—and -ul= won’t work on them there, so adjust those rules on the dashboard.
You can also compose custom replies visually with the dashboard’s Blocks editor. It’s open to try on Free, while saving block edits requires Premium or Pro; if you later downgrade to Free, existing blocks stay read-only.
Cooldowns and access
Section titled “Cooldowns and access”- Cooldown is shared by the whole channel. Once a viewer triggers a command, everyone waits until the timer expires before it can fire again.
- Plan minimums: Free
5seconds, Premium3, and Pro1. The dashboard form lets you set up to 60 seconds. - Zero-second cooldown: Each channel gets one
0-second slot for an editable command. New channels assign it to!sby default, so you’ll need to change!sfirst before giving0to another command. - Who can use it: Pick one access model per command—either User level (a single tier like Subscribers or Mods) or Tags and accounts (allow/exclude groups plus specific Twitch accounts). These two options can’t be mixed.
Keywords (no !)
Section titled “Keywords (no !)”Keywords let the bot react to words in normal chat messages without requiring !. Click New keyword on the dashboard and pick how it should match:
- Beginning of message: triggers when a message begins with the word.
- Anywhere in message: triggers when the word shows up anywhere in the message.
- Entire message: triggers only when the entire message matches the word.
Keywords always enforce at least your plan’s minimum cooldown and stay hidden from !commands.
Repeating messages (timers)
Section titled “Repeating messages (timers)”Timers post scheduled messages in chat automatically whenever your stream is live. Moderators can create and update them with !cct, !ect, and !dct, or with !timer create, !timer edit, !timer delete, and !timer list (!timers works identically).
!cct socials 20 Check out the channel links!!ect socials 30 Updated links are in the panels.!dct socials!timer list| Plan | Intervals | Active timers |
|---|---|---|
| Free | 10, 20, 30, 40, 50, or 60 minutes | 5 |
| Premium | Multiples of 5 from 5 to 180 minutes | 15 |
| Pro | Any whole number of minutes from 1 to 180 | 50 |
- Name: Up to
30characters using letters, numbers, and underscores. Names are stored in lowercase and matched case-insensitively. - Message: Up to
350characters, with full support for$(...)functions. - Interval: Enter minutes as a plain number or append
morh(such as15mor1h). When editing, if the first word after the name looks like an interval, the bot reads it as the new interval rather than part of the message. - Plan change: If a plan downgrade leaves a timer on a disallowed interval, it keeps firing as configured—just pick a valid interval the next time you edit it.
Write a reply
Section titled “Write a reply”Dynamic replies use $(...) functions rather than {user}-style placeholders (which the bot leaves untouched).
| You write | The bot inserts |
|---|---|
$(user) | The viewer’s name |
$(twitch.channel) | Your channel name |
$(twitch.game) | The current game |
$(random 10) | A random number from 0 to 9 |
&p1, &p2 | The first and second word typed after the command |
&t | Everything else the viewer typed |
Want counters, conditionals, loops, or deeper actions? Head to the advanced command guides.
Examples
Section titled “Examples”Simple static replies for links, schedules, and rules.
!cc discord Check out my Discord! discord.gg/exampleChat:
💬 Viewer: !discord🤖 DomDimaBot: Check out my Discord! discord.gg/exampleDrop in $(...) functions whenever the reply needs live channel data.
!cc gameinfo $(twitch.channel) is currently playing $(twitch.game)Chat:
💬 Viewer: !gameinfo🤖 DomDimaBot: DomDima is currently playing ValorantPull in what the viewer wrote after the command with &p1, &p2, and &t.
!cc hug $(user) sends a warm hug to &p1! 🤗Chat:
💬 Viewer: !hug @FriendUser🤖 DomDimaBot: Viewer sends a warm hug to @FriendUser! 🤗!cc say $(user) says: &tChat:
💬 Viewer: !say this bot is amazing🤖 DomDimaBot: Viewer says: this bot is amazingVariables are created by you—they don’t exist until your command writes to them.
!cc wins *(^(#wins) ? %(#wins *(%(#wins) + 1)) : %(#wins 1)) $(user) total wins: %(#wins)Chat:
💬 Viewer: !wins🤖 DomDimaBot: Viewer total wins: 1Each subsequent run bumps the count by one.
Replies can also fire a trigger or chain another command.
!cc airhorn $(trigger.send airhorn) AIRHORN!When a trigger named airhorn is configured, running the command plays it.
!cc creator Check out my links here: #(discord)This posts the creator reply first, then runs discord and sends its reply right after.
