Bot Commands

Here you manage the bot's default commands and your own commands that can be used in chat.

Dashboard overview

On this page you manage default commands, custom commands and sounds in three tabs and adjust permissions, cooldowns, and responses.

Default commands

The default commands are organized into four categories: Information · Moderation · Stream Management · Utility

All commands can be individually configured in the dashboard.

!accountageShows account age and creation date
Usage: !accountage @username (with or without @; without input, shows your own account)
!commandsShows link to commands overview
Usage: !commands (link is also displayed at the top of the dashboard page)
!donatePosts the link to your ByteMate donation page
Usage: !donate (alias: !tip)
⚠️Caution: Has to be created once on the donations page in your dashboard – until then the bot stays silent. If your donation page is switched off, the bot says so instead of posting a dead link.
!followageShows follow duration to channel
Usage: !followage @username (with or without @; without input, shows your own account)
!uptimeShows stream uptime
Usage: !uptime

Custom commands

Under this tab you create and manage your own commands. Enter a name under Command and the text the bot should post under Response. You can also set aliases when creating a command, i.e. alternative names. Once created, the command has the same settings as default commands (see Configuration fields below). At the bottom right you will find the Variables button with all available placeholders.

If the response starts with /announce, the bot posts it as an announcement in your channel color. With /announceblue, /announcegreen, /announceorange or /announcepurple it shows up in that color – just like the Twitch chat commands of the same name. For announcements the bot has to be a moderator in your channel; otherwise it sends the text as a normal chat message.

Templates

If you are new to bot commands, the Templates button helps you get started. The templates are deliberately chosen to show you how variables work, grouped into Address viewers, Random & fun and Stream info & counters.

Each template demonstrates one variable, for example:

  • !lurk – $(sender) (the name of whoever runs the command)
  • !hug – $(sender) and $(touser) (addresses another chatter)
  • !slap – $(1) (the text the viewer types after the command)
  • !dice – $(random 1 6) (random number)
  • !decide – $(randompick("Yes","No","Maybe")) (random choice)
  • !randomclip – $(randomclip) (links a random clip from your channel)
  • !game – $(game) (current stream category)
  • !deaths – $(count deaths +1) (a counter that counts up on every use)

Clicking Use fills the creation form above with that template. You can still adjust the text, then click Add. Templates are therefore not saved directly; they serve as a starting point for learning. Most examples work right away without any changes.

Sounds

In the Sounds tab you decide when a sound plays on stream. There are four triggers:

  • Chat command – your viewers type a command, for example !airhorn or !applause.
  • Channel points – someone redeems one of your channel point rewards.
  • Bits – someone cheers a certain amount or more.
  • Viewer – a viewer you picked writes in chat for the first time in a stream.

In every case the sound comes from your media library and plays through a browser source in OBS. Triggers can play a sound, too – see the Triggers page.

One-time setup: the sound player in OBS

For a sound to be heard on stream, OBS needs the sound player. There are two ways to add it – use exactly one, otherwise every sound plays twice:

  • As a browser source: At the top of the tab, copy the link under OBS browser source and add it to OBS as a browser source. The source stays invisible; size and position don't matter.
  • In the Overlay Builder: Add the Sound player widget to your scene. It's invisible on stream as well.

OBS only outputs the audio of the scene that is currently live. If a sound should be heard in every scene, the sound player has to be part of each of those scenes – for example as a shared source you add to all of them.

Sound via chat command

  1. Open New sound, pick Chat command under Trigger and enter the name of the command.
  2. Under Sound, pick a file from your media library or upload a new one via Upload sound (MP3, AAC, M4A or OGG).
  3. Set the Volume.
  4. Optional: enter a Chat response. If you leave it empty, the command only plays the sound.
  5. Test in OBS plays the sound through your sound player right away – even before you save.

After that the same settings apply as for custom commands (see Configuration fields and Per-user command access below). New sound commands start with higher cooldowns on purpose – 10 seconds global, 30 seconds per viewer – because a sound gets annoying faster than a chat line. The name can't match any other command in your channel, including built-in ones like !so or !clip.

Add a sound to an existing command: If you enter the name of one of your commands from Custom Commands, the field shows a notice with an Add sound button. It takes over the command's response and settings. After saving, the command also plays the sound and from then on is listed under Sounds.

Sound via channel points or Bits

  1. Open New sound and pick Channel points or Bits under Trigger.
  2. Channel points: Under Reward, pick one of your channel point rewards. You create the reward itself on Twitch as usual. Channel points are only available to affiliates and partners.
  3. Bits: Enter the amount and pick the Rule – Exactly this amount or This amount or more.
  4. Pick the sound and the volume as for a chat command.
  5. Optional: enter a Chat response (optional). The bot posts it in chat together with the sound – for channel points with {user} (who redeemed), {reward} and {input} (the viewer's text), for Bits with {user} and {amount}. Leave it empty, and only the sound plays. Then save.

There is exactly one sound per reward and per Bits amount. A reward can do something else at the same time, for example hand out a temporary VIP. A cheer plays one sound at most: an Exactly this amount entry wins, otherwise the highest This amount or more tier the cheer reaches plays. That way you can use Exactly 100 Bits for a special sound and still set up tiers from 50 and from 500 Bits.

Sounds via channel points and Bits have no cooldowns – every redemption and every cheer counts. The queue follows the same rules as below. Each channel can have up to 100 of these sounds. A reward you deleted on Twitch is marked in the tab; the entry no longer plays anything.

Sound for a viewer

  1. Open New sound and pick Viewer under Trigger.
  2. Under Twitch name, enter the viewer – as a name, @name or twitch.tv/name.
  3. Pick the sound and the volume. Optional: a Chat response (optional) with {user} for the viewer, for example There's {user}!.

The sound plays once per stream, as soon as this person writes in chat for the first time – any message counts, a command like !lurk too. It only plays while you're live, and a bot restart during the stream doesn't play it again. Each viewer can have one sound. ByteMate recognizes the viewer by their Twitch account, so a name change doesn't break the entry. If you switch an entry to a different viewer, that person gets their sound in the current stream as well. Viewer sounds count towards the same limit of 100 as sounds via channel points and Bits.

How the sound player plays

  • Sounds play one after another, never on top of each other.
  • At most 5 sounds wait in line. Anything triggered beyond that is dropped.
  • A sound that had to wait longer than 30 seconds is skipped instead of starting late.
  • Every sound stops after 30 seconds at the latest.
  • If you reload the source in OBS, sounds that already played are not repeated.

!alerts off also silences all sounds – during a hate raid a sound is just as much an attack vector as an alert. !alerts on turns them back on; whatever was triggered in the meantime is not replayed.

Moderators

Sounds play audio directly on your stream. That's why mods need a permission of their own for them: Sounds. It's off by default and sits in your account under Mod permissions in the Additional permissions section. Without it, mods don't see the Sounds tab and can't change, delete or hand out access to existing sounds. The same goes for triggers with a sound: mods without the permission can edit triggers without a sound as usual, but can't add a sound or change a trigger that plays one.

In your public commands overview, sound commands are marked with 🔊 Sound. Your viewers can't see which file is behind it. Sounds via channel points, Bits and for viewers aren't listed there, because they aren't commands.

When there's no sound

  • The test says "Sent to OBS", but you hear nothing: Check that the sound player is part of the scene that is currently live and that the browser source isn't muted in OBS. If the tab shows Alerts muted instead, alerts are paused via !alerts off.
  • The player link is open in a normal browser tab: Browsers block audio until you click the page once. The sound player shows a hint for that. This doesn't happen in OBS.
  • The file was deleted from the media library: The media library marks files used by an entry in the Sounds tab as in use. If you delete one anyway, the entry stays silent until you give it a new sound.
  • A viewer sound doesn't play: It only plays while you're live and only for the viewer's first message in this stream. If the person already wrote earlier in the stream, the next sound comes with your next stream.
  • Channel points or Bits don't trigger anything: Log in to bytemate.me once more if your Twitch login dates from before these features – ByteMate needs permission to read redemptions and cheers.

Public commands overview

At the top of the page you will find the link to your public commands overview at https://bytemate.me/commands/[yourchannel]. The Active/Inactive toggle next to it lets you enable or disable this page for your viewers. When the overview is disabled, visitors see a short notice instead.

While you're live, the overview shows a Live badge with your stream title and category under your name. The status refreshes every two minutes.

Configuration fields

Each command supports the following settings:

  • User Level: Who is allowed to use this command. The selected role and higher roles can trigger it. The order is Everyone · Follower · Subscriber · VIP · Moderator · Broadcaster. With Follower, the bot asks Twitch whether someone follows your channel; subscribers, VIPs and mods can use it without following. Someone who just followed can use the command within a minute. If Twitch is briefly unreachable, the command stays silent for viewers without a badge instead of opening up to everyone.
  • Moderation commands: Only the channel owner can set !settitle, !setgame, !nuke, !permit and the subathon commands below Moderator, i.e. open them to VIPs or viewers. Mods can still change their cooldown. !settitle and !setgame are set to Moderator by default.
  • When active?: Always active or only when the stream is online/offline.
  • Cooldown Global/User: Total time or per-viewer time before the command can be used again.
  • Command aliases: Alternative names for the command; can be added with or without !. A name or alias that another command in your channel already uses is not saved – you get a notice and pick a different one. This also applies to the subathon timer commands.
  • Response: Enter your response. Clicking the default button at the top right resets the response to the default. Under the textbox you can see the variables you can use.
  • Response length: Twitch allows 500 characters per chat message, and that is what the field accepts. The counter above the textbox shows where you are; if the response is too long it is not saved and you get a notice. If a saved response still ends up longer (for example because variables such as {channel} are replaced by longer values when posting), the bot spreads it across two chat messages and breaks between words.

The Active toggle for each command enables/disables it for chat.

Each channel can have up to 500 commands. Once the limit is reached, a toggle that couldn't be saved flips back and you get a notice.

Per-user command access (Grants)

The grant system lets you give individual viewers access to specific commands — even if their user level would normally be too low.

In the dashboard

Every command has a collapsible "Special User Permissions" section. There you can see all active grants for that command and:

  • Enter a Twitch login and choose an expiry (Permanent, 1 hour, 24 hours, 7 days, or 30 days)
  • Revoke grants with the Revoke button

Via chat command

Grant access:

!grant @username command [duration]
  • @username – Twitch login of the user (@ is optional)
  • command – command name without ! (e.g. uptime, so)
  • duration – optional: 30m, 2h, 1d – if omitted the grant is permanent

Revoke access:

!revoke @username command

!grant and !revoke are restricted to moderators. Expired grants are deactivated automatically; re-granting updates the expiry.

Variables

A complete list of variables is available in the Bot Variables section. You can write variables as $(...) or ${...}; positional arguments also work with {1}, {2}, etc.

Frequently asked questions

How do I create a custom chat command in ByteMate?

Open the Commands page in the dashboard, switch to the Custom commands tab, enter a name and the response text, and save. The command is then immediately available in chat. You can also define aliases (alternative names) when creating it.

Can I limit who is allowed to use a command?

Yes. Every command has a User Level setting. The selected role and all higher roles are allowed to trigger the command. You can also restrict whether a command is active always, only when the stream is live, or only when it is offline.

How do cooldowns work for commands?

Each command has a global cooldown (total time before anyone can use it again) and a per-user cooldown (time before the same viewer can use it again). Both can be set independently per command in the dashboard.

Can I give a single viewer access to a command they normally cannot use?

Yes. ByteMate has a grant system: in the Special User Permissions section of a command, add a Twitch login with an expiry (permanent, 1 hour, 24 hours, 7 days, or 30 days). Moderators can also use the chat commands !grant @user command [duration] and !revoke @user command.

Can I share my command list publicly?

Yes. Every channel gets a public command overview at https://bytemate.me/commands/[yourchannel]. You can enable or disable this page via the toggle at the top of the Commands page in the dashboard.