Add a Twitch Notification
How to setup Twitch notifications in your Discord server
Set up your notification channel
1. Invite the Bot if you haven't already.
2. Create a channel for stream announcements if you haven't already.
3. Configure the bot to send stream notifications to that channel.
Example:/twitch add xqc #stream-notifications
4. Edit your channel's settings, and go to the "Permissions" tab.
5. From the "Roles/Members" selection, add Sx Bot.
6. 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
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 notifications settings such as message, notification channel, etc. Read ahead.
Customize the notifications
1. Edit the announcement message that is sent when a streamer goes live with the variables below
Example:/twitch edit xqc {EVERYONE} {STREAMER} is just went live!
Streamer name | URL | Mention | Viewers | Game name |
---|---|---|---|---|
{STREAMER} | {URL} | {EVERYONE} | {VIEWERS} | {GAME} |
{USERNAME} | {HERE} | {PLAYING} | ||
2. View a test stream message with the embed.
Example:/twitch test xqc
In the test stream message, the values around brackets {} will be replaced by the streamers actual values when going live.
All done! Sx Bot will notify your Discord community next time the streamer you added goes live!
Title Filter
1. Filter notifications by title name. (Requires filter word to be in stream title)
Example: /twitch edit xqc title-filter No Pixel
This is particularly useful for GTA RP servers, similar to hasroot, where only streamers who have the keyword in their title will have the notifications sent.
Stream announcement message cleanup
1. Choose whether to edit, delete, or do nothing to the stream message. (Default is nothing)
Example: /twitch edit xqc clean-up edit
Remove a streamer
1. Remove a streamer from the streamers list.
Example:/twitch remove xqc
Example: /twitch remove https://twitch.tv/xqc
View the current streamers list
1. Show the current twitch streamers list.
Example:/twitch list
Notification Cooldowns
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
.
Last updated