Skip to content
This repository has been archived by the owner on Dec 19, 2021. It is now read-only.

GoLive Module

Latest
Compare
Choose a tag to compare
@TheKingEagle TheKingEagle released this 16 Jun 11:47
· 2 commits to master since this release
95e7224

GoLive

A Twitch integration module for your discord bot. Designed for RMSoftware.ModularBOT

Installing

Please note: For usage examples we will be using the command prefix !. Remember to use the prefix you setup with the bot.

  • Create a guild role called 🔴 Live! (Yes, copy and paste the role name.)
  • Make sure this role is below your bot's active role.
  • Copy GoLive.dll & Services.GoLive.ini into the CMDModules directory of your bot's installed directory. typically in your AppData folder.
  • Open OnStart.core in your bot's main directory and add the following lines somewhere in the script:
REM This command is required to run on bot startup. Please only run the command once.
CMD InitGoLive
  • Restart the bot.
  • You should see purple log entries in the console output titled GoLive.

Creating Live Alerts

  • Simply go into a text channel you want your bot to send the Alerts
  • use the command !addalert <DiscordUser @mention> <Twitch username> <True/False Supress @everyone>
    • Please note: If you want your users to get an @everyone ping, make sure you specify False for the supress parameter.
    • Please note: Your bot must have the ability to mention @everyone in order to correctly use this command.

FAQ & Troubleshooting

My bot isn't notifying a channel I went live?

  • Does your bot have permission to send messages to your channel?
  • Does your bot has the ability to post embeds and links in your text channel?
  • This module will only work on Guild Channels. Not Groups or DM.
  • Ensure you have used the !addalert command in that channel.
  • Does your guild have the designated GoLive role? (🔴 Live!) Is this role below your bot's highest active role?