Twitch
Send a message whenever your favorite streamer goes live !
Configurable amount of channels.
Checks every 5 minutes for a new livestream

Required Packages:
Code:
npm install @twurple/api @twurple/auth


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)

The people that keep us up!

  • Author
    DuAnti
    Type
    Digital product
    License duration
    Unlimited
    Price
    8.00 USD
    Views
    485
    First release
    Last update
    Rating
    0.00 star(s) 0 ratings

    Latest updates

    1. Corebot 4.5 Update

      Supports Corebot v4.5 added a button and a default embed color of 0000
    2. Fixxed a startup Error, added boilerplate config command

      You can now generate a boilerplate config via command
    3. Added Command to manually announce streamer

      Added a Command to manually announce a streamer <prefix> twitch <streamer> <roleid> <channelid>...

    © 2021 COREBOTADDONS.COM INC. ALL RIGHTS RESERVED.
    Major thank you to "Dragon" from Insurgence Network for helping setting up Paid Resources!

    Top