Getting Started with the Chatbot
This guide walks you through the two most common ways to put the StreamElements Chatbot to work: creating your first custom command and setting up your first timer.
Your first command
Section titled “Your first command”Commands are the main way users will interact with the bot in your chat. They can be used to trigger actions, or to display information to your users. In this example we will create a command that shows how long it has been since a user was last seen in chat.
-
From the bot command dashboard, navigate to the “Custom commands” tab.
-
Click the “Add new command” button to open the command creation tool.

-
Enter the desired name for your new command in the “Command name” field. For this example we will name the command “lastseen”.
-
Optional: In the “Response type” dropdown, select the method you would like the bot to use to send the response.
- “Say” will send the response as a chat message as it is entered in the basic settings.
- “Mention” will send the response as a chat message, but will prefix the message with
@$(user),. - “Reply” will send the response as a native reply to the user who triggered the command.
- NOTE: If the platform does not support native replies, the response will be sent as a “Mention” instead.
- “Whisper” will send the response as a whisper to the user who triggered the command.
-
Add the response in the “Reply” field. For our example, enter:
$(user) was last seen $(user.lastseen) ago$(user)and its sub-variables target the name typed after the command — or the person who used the command, when no name is given. For a list of all available variables, see the variables documentation.
-
Optional: Switch to the “Advanced settings” tab to add command aliases (alternate trigger words), cooldowns, a loyalty-point cost, or conditions such as only running while the stream is live.

-
Click the “Activate command” button to save your new command.

That’s it — the command is live in your chat:
Your first timer
Section titled “Your first timer”Timers allow you to automatically post announcements, social links, schedules, or any other messages at regular intervals in your chat.
-
From the bot timers dashboard, click the “Add new timer” button in the top right corner.

-
In the expanded timer settings, enter a name for your timer in the “Timer Name” field.
-
Enter the message you want the timer to post under “Response messages”.
-
Set the “Online interval (minutes)”. This is how often the timer will post while your stream is live.

-
Click the “Activate Timer” button at the bottom of the timer settings.
-
The timer will now appear in your list of timers, where you can enable/disable it using the toggle switch.
For the remaining settings — offline interval, chat lines, multiple messages, and stream title or category conditions — see the Timers reference.
Next steps
Section titled “Next steps”- Learn more about creating and managing custom commands.
- Browse all available variables you can use in responses.
- Read the Timers reference for a full overview of timer settings.
- Explore Modules and Spam Filters to take your chatbot further.