Add a Twitch Notification
1. Create a channel for stream announcements if you haven't already.
2. Configure the bot to send stream notifications to that channel.
Example:
/twitch channel set #stream-notifications
2. Edit your channel's settings, and go to the "Permissions" tab.
3. From the "Roles/Members" selection, add Sx Bot.
4. Allow Sx Bot to have the following permissions in the channel:
- View Channel
- Send Messages
- Embed Links
- Attach Files
- Use External Emoji
- Mention @everyone, @here, and All Roles
Add the streamers you'd like to receive notifications for.
1. Add the streamers name or channel link
Example:
/twitch streamers add xqc
Example: /twitch streamers add https://twitch.tv/xqc
That's it! Anytime the streamer
xqc
goes live, you will now receive an alert to the designated channel you set. If you'd like to edit the notification message. Read ahead.You have to ability to customize the notification message.
Insert the following keys in your message:
Streamer name | URL | Mention | Viewers | Game name |
---|---|---|---|---|
{STREAMER} | {URL} | {EVERYONE} | {VIEWERS} | {GAME} |
{USERNAME} | | {HERE} | | {PLAYING} |
| | | | |
For example: {HERE} {STREAMER} Just went live on Twitch playing {GAME}!
1. Remove a streamer from the streamers list.
Example:
/twitch streamers remove xqc
Example: /twitch streamers remove https://twitch.tv/xqc
1. Show the current twitch streamers list.
Example:
/twitch streamers show
By default, there are no cooldowns on notifications. That means each time you go live, a notification will be sent to the channel. Some users may prefer to put a delay/cooldown in between notifications in case their stream restarts and rather not send another notification. To enable this, use
/twitch cooldowns set
followed by the amount of time such as: 5m
for 5 minutes, or 1h
for 1 hour. You can also use the format 5 minutes
or 1 hour
.