Coder Social home page Coder Social logo

thekingeagle / golive Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 16 KB

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

License: MIT License

C# 100.00%
twitch integration discord-net discord bot notification-service event-listener modules csharp

golive's Introduction

GoLive

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

NOTICE OF ARCHIVE

This module is not maintained since ModularBOT v2.0, and changes to the way discord handles presence.

Source Code

Users who want to build from source will need to reference the RMSoftwareModularBot project.

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?
  • Make sure you have enabled Streamer Mode in your settings. Otherwise, you won't get recognized as being live. By default, streamer mode is automatically enabled when you start OBS.

golive's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.