Basic CTCP plugin
This plugin implements replies for the following CTCP commands:
First install the gem by running: [sudo] gem install cinch-basic_ctcp
Then load it in your bot:
require "cinch" require "cinch/plugins/basic_ctcp" bot = Cinch::Bot.new do configure do |c| # add all required options here c.plugins.plugins = [Cinch::Plugins::BasicCTCP] # optionally add more plugins end end bot.start
If this option is set, the plugin will only reply to commands which are listed in this option.
configure do |c| # only reply to VERSION and TIME c.plugins.[Cinch::Plugins::BasicCTCP][:commands] = [:version, :time] end