Commands
Chat commands in Streamer.bot are platform-agnostic, supporting Twitch, YouTube and Trovo.
Configuration options give you fine-grained control over command text parsing, cooldowns, and user permissions.
To create your first command, Right-click in commands pane and select Add
to open the configuration dialog.
Configuration
Enter a friendly name for this command
Commands
field.true
Toggle this command on or off
Select a text matching mode for this command:
Basic
- Match at least one of the strings entered, based on the configuredLocation
optionRegex
- Match based on Regular Expression
Modify the text matching behavior when using the Basic
mode:
Start
- Match chat messages that begin with at least one command aliasExact
- Match chat messages that are exactly the same text as at least one command aliasAnywhere
- Match chat messages that contain at least one command alias
Enter the text from chat used to execute this command
Optionally type or select a group for this command
Options
true
Ignore messages from the bot account, if it is configured for the respective chat platform
true
Ignore messages from the internal Streamer.bot chat loopback.
false
false
false
Require command aliases to be matched using the exact casing specified
You can select any combination of chat sources to watch for execution of this command:
Twitch Message
- Accept commands from the chat of the configured Twitch Broadcaster accountYouTube Message
- Accept commands from the chat of the configured YouTube Broadcaster accountTwitch Whisper
- Accept commands from whispers sent to the configured Twitch Broadcaster accountTwitch Subscription Message
- Accept commands included in the Twitch sub messageTwitch Re-subscription Message
- Accept commands incldued in the Twitch re-sub message
Cooldowns
To prevent spam or generally restrict usage of your command, you can configure cooldown options:
0
Enter a minimum time, in seconds, before the command can be used by anyone again after it is executed
- Set to
0
to disable global cooldowns
0
Enter a minimum time, in seconds, before the command can be used by a specific user again after it is executed by that user
- Set to
0
to disable user cooldowns
Permissions
You can restrict access to your commands by configuring permissions options:
Modify the grant type for all configured permissions within this command:
Allow
- Only the specified groups or users can execute this commandDeny
- Everyone except the specified groups or users can execute this command
Allowed
or Denied
fields are left empty, the permission applies to everyone.- Grant type
Allow
, with an emptyAllowed
field will allow all users access - Grant type
Deny
with an emptyDenied
field will deny all users access
Context Menu
From the Commands tab, Right-Click any existing command to reveal the context menu.
Options are outlined below:
Add
Create a new command
Edit
Open the command configuration dialog.
This is the same as Double-Clicking the entry
Delete
Delete the selected command
Rename Group
Quickly rename the current group of the selected command
Set Group
Quickly assign the selected command to another group
Enabled
Quickly toggle this command on or off
Reset Counters
Reset stored counter data for the selected command
Reset User Counters
Reset stored user counter data for the selected command
Add to Export
Add this command to the current export
Copy Command Id
Copy the unique ID string for the selected command to your clipboard
Usage
Once you have configured your commands, you can assign them to actions with triggers!