The Cinch eval.so plugin. Send requests to the eval.so API for processing.
Install the gem
gem install cinch-evalso
require 'cinch'
require 'cinch/plugins/evalso'
bot = Cinch::Bot.new do
configure do |c|
c.server = "irc.freenode.org"
c.channels = ["#cinch-bots"]
c.plugin.plugins = [Cinch::Plugins::EvalSo]
end
end
bot.start
!langs
Prints out a list of the languages available from the eval.so API
!eval {language} {code}
Evaluates code using the eval.so API
This plugin is licensed under the MIT License.