Send a message whenever your favorite streamer goes live !
Configurable amount of channels.
Checks every 5 minutes for a new livestream
Required Packages:
SUPPORT-SERVER
Configurable amount of channels.
Checks every 5 minutes for a new livestream
Required Packages:
Code:
npm install @twurple/api @twurple/auth axios
Update the twurple packages to Version above 6.
Replace addon file with the new one
NGINX:
npm update @twurple/auth @twurple/api
Replace addon file with the new one
YAML:
TwitchClientID: ""
TwitchClientSecret: ""
# go to https://dev.twitch.tv login and create an application
PermissionRole: "Staff"
Command: "twitch"
ConfigGenerate: "twitch-gen"
CommandDesc: "Send manually a announce when a streamer goes live!"
LiveMessage: "{role} {streamer} is now live!"
# This is the message, not the embed, which will be send when your manually announcing a stream !
You can create as many configs as you want, just name the config <streamername>.yml e.g shlorox.yml
YAML:
RoleID: ""
ChannelID: ""
#^ Must be IDs
Message: "{role} {streamer} is now live !"
#^ {role} = roleping {streamer} = streamer name
Embed:
Title: "{streamer} is now live!"
Author: "{streamer}"
AuthorIcon: "{streamerProfilePicture}"
Image: "{streamThumbnail}"
Thumbnail: "{gamePicture}"
URL: "{streamLink}"
Fields:
- name: Game
value: "{game}"
inline: true
- name: Viewer
value: "{viewer}"
inline: true
- name: Language
value: "{lang}"
inline: true
#^Placeholder only for Embed:
#{streamer} = Streamer-Name
#{streamThumbnail} = Stream-Thumbnail (Preview-Image of Stream, big image)
#{streamerProfilePicture} = Streamer-Twitch Profile Picture
#{streamLink} = Link to Stream
#{game} = Streaming Game
#{viewer} = viewer-count
#{lang} = language shortcut e.g "de"
#{gamePicture} = Game Boxart Picture (upper right)
SUPPORT-SERVER