Skip to content
This repository has been archived by the owner on Mar 26, 2019. It is now read-only.

Latest commit

 

History

History
24 lines (15 loc) · 901 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 901 Bytes

twitch-plays-server

Description

Based on TwitchPlaysPokemon, this is a simple library that watches an IRC channel for input and relays those as commands to a RabbitMQ messaging server. From there any client that subscribes to the appropriate queue can receive the commands.

Configuration

You will need to create a "configuration.yml" file containing your IRC and RabbitMQ configuration. There is a file with examples in example-configuration.yml

Deployment

I have a Vagrantfile here, but it probably won't be much use with my custom roles. Basically you need to have RabbitMQ running with the proper setup and credentials for this to work.

Usage

Run bundle install to install gem dependencies. Then run the following:

ruby twitch-plays.rb