Skip to content

sparkhom/cinch-evalso

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Cinch plugin to query the eval.so API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages