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.
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
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.
Run bundle install
to install gem dependencies. Then run the following:
ruby twitch-plays.rb