0.0
No commit activity in last 3 years
No release in over 3 years
Cinch plugin to evaluate code with different languages using the eval.so API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
>= 0
>= 0
 Project Readme

cinch-evalso

The Cinch eval.so plugin. Send requests to the eval.so API for processing.

Installation

Install the gem

gem install cinch-evalso

Example

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

Usage

!langs Prints out a list of the languages available from the eval.so API

!eval {language} {code} Evaluates code using the eval.so API

License

This plugin is licensed under the MIT License.