How to set up the Twitch bot
You can use bot flows to alert your server when streaming automatically. You can use the triggers, actions, and variables to suit your needs, but below is a standard example of how you can send an automatic message to a channel on your server when you begin streaming.
- From your server's Settings, navigate to Bots, and select Twitch Bot
We will auto-populate bot triggers if you have already connected your Twitch account under integrations.
- If you want to announce that other members of your server have gone Live on Twitch, click the edit button on the flow and click Edit on the trigger flow Twitch stream online,
- Under Trigger details, set which members or roles can trigger this flow. By default, this field will be Any member or role. We will allow anybody with the @Streamers role to trigger this flow for this example. Then, click Next.
- Note: Only users who have linked their Twitch accounts can trigger this flow.
- Under Actions, click Add, then select Send a custom chat message.
- Choose the chat channel you want to send your custom message to, and then customize the content of the message. In the message field, type $ to access your Templating options.
- Decide if you want the user to receive a notification or if you want the message to send privately.
- This example will include $TriggeringUser and $TriggeringStreamLink:Link. Your message will include the user's name who triggered this flow and a link to the stream that triggered it. Click Next, and then Save your bot flow.
Important: the bot must be added to the destination channel's permissions
And you're all set! Anyone with the @Streamers role who starts a stream will automatically post a link to their stream on your server.