{{define "cp_streaming"}} {{template "cp_head" .}} {{template "cp_alerts" .}}

This feature uses the streaming status of users in Discord to send announcements and assign a role to them.

Warning: The stream announcements are the most unreliable feature on this bot, but the streaming role is fairly reliable.

Note: The bot needs to have a role higher than the one you are trying to assign to streamers!
Note: This only checks your server members streaming status, if you need something else there are several dedicated bots for the purpose of announcing streams.

Available template data is {{template "template_helper_user"}}, {{"{{.URL}}"}} (The stream link), {{"{{.Game}}"}} and {{"{{.StreamTitle}}"}}.

Filter out the people streaming by their game name (prepend with (?i) for case insensitivity).

Assign a role to people currently streaming, so you can, for example, hoist it up to where people can see.

Only care about the people with this role.

Ignore people with this role.

Filter out the people streaming by the stream title (prepend with (?i) for case insensitivity).

{{template "template_help"}}
{{template "cp_footer" .}} {{end}}