how to make custom commands in twitch stream elements
Creating custom commands in StreamElements for your Twitch stream is a great way to engage with your audience and automate certain responses. Here’s how you can set up custom commands:
Step 1: Log in to StreamElements
1. Visit the StreamElements website at [https://streamelements.com](https://streamelements.com).
2. Log in with your Twitch account.
Step 2: Navigate to the Command Settings
1. Once logged in, click on “Bot” in the left sidebar.
2. In the dropdown, select “Chat Commands”.
3. You will see a list of existing commands here.
Step 3: Create a Custom Command
1. Click on the “Custom Commands” tab at the top of the page.
2. Click on “Add New Command” to create a new custom command.
Step 4: Set Up Your Command
1. Command Name: Choose a name for your command (e.g., `!hello`, `!discord`, etc.). This is the text that viewers will type in chat to trigger the command.
2. Response: In this field, you can set what you want the command to reply with when triggered. For example, if you’re creating a `!discord` command, you might enter your Discord invite link or a custom message like, “Join our community on Discord: [Your Discord Link].”
3. User Level: This option lets you decide who can use the command. You can select:
– Everyone (any viewer can use it)
– Moderator (only moderators can use it)
– Subscriber (only subscribers can use it)
– VIP (only VIPs can use it)
4. Cooldown: Set how often a viewer can use this command. This is useful to prevent spamming of commands in chat. For example, a cooldown of 30 seconds will prevent users from using the command more than once every 30 seconds.
5. Alias: Optionally, you can add an alias for the command. For instance, you could create `!discord` as the main command, and add an alias like `!server`, so both will trigger the same response.
6. Command Functionality: You can use variables in the response to customize it further. For example:
– `$username` will display the username of the person who triggered the command.
– `$uptime` will show how long the stream has been live.
– `$followers` will display the current follower count.
You can find a full list of available variables in the StreamElements documentation.
Step 5: Save the Command
Once you’ve entered all the necessary information, click “Save” to add the custom command.
Step 6: Test Your Command
Go to your Twitch stream and try typing your custom command in chat to see if it responds as expected.
Additional Tips:
– You can add custom commands for things like links to social media, your donation page, FAQ, stream schedule, etc.
– Experiment with advanced features like creating commands that call on other bots, integrate with external APIs, or even trigger sound effects and media.
By using these steps, you can easily create a set of custom commands to make your Twitch stream more interactive and informative for your viewers.