Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleStreamOnlineEvent ¶
func HandleStreamOnlineEvent(body types.SpyglassStreamOnlineEventDelivery) error
HandleStreamOnlineEvent handles a stream online event. Fetches Twitch stream data and sends out Discord messages.
func ReplaceVariables ¶
func ReplaceVariables(message string, data events.StreamData) string
ReplaceVariables formats the given string with a list of notification variables from https://docs.streamcord.io/notifications/variables.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.