GithubHelp home page GithubHelp logo

orangenote / twitchintegration Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 2.0 4.46 MB

Twitch Integration framework for Risk of Rain 2

Home Page: https://thunderstore.io/package/OrangeNote/TwitchIntegration/

License: MIT License

C# 100.00%

twitchintegration's Introduction

TwitchIntegration

Experimental framework for integrating Twitch in the game.

How to install

  • Move the contents of the dependencies folder inside the RoR2 Managed folder (note to devs: let me know if there's a better spot for these dlls)
  • Move the TwitchIntegration folder inside the BepInEx plugins folder
  • Done!

How to use

Open the game console and type twitch_connect [channel]. You can use tconnect as alias for the command.

If you want to send commands via game chat please use ChatCommands.

If you don't specify the channel it will connect to the same channel associated to the account you will connect with. Otherwise authorized account and channel will be different (imagine you want to authorize a custom bot while interacting with your own chat channel).

After a few seconds a new tab in your default browser will open asking for authorization (you might need to log in to your Twitch account first if you're not already logged in).

If you authorize the application, the game will automatically get the token and connect the game to Twitch. The Twitch chat and the in game chat are now connected.

Dev

Classes are in a rough state at the moment, but I hope you can figure out what you can do with this mod. As an example, I made a plugin that extends this mod (TwitchVotesItems) and integrates the chat interaction with in game elements. There's plenty of possibilites and I hope new or existing mods integrate with Twitch in the future!

twitchintegration's People

Contributors

orangenote avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

kyred808 temaster

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.