Skip to content

Instantly share code, notes, and snippets.

@numinit
Created July 2, 2012 20:48
Show Gist options
  • Save numinit/3035608 to your computer and use it in GitHub Desktop.
Save numinit/3035608 to your computer and use it in GitHub Desktop.
The original ARGBot!
require 'cinch'
class ValveARG
include Cinch::Plugin
match /!argstatus/, handler: :argstatus
def argstatus(m)
m.reply "#{m.user.nick}, we're currently waiting for Valve."
end
end
bot = Cinch::Bot.new do
configure do |c|
c.user = c.nick = 'ARGBot'
c.realname = 'Dovahkiin'
c.server = 'irc.gamesurge.net'
c.delay_joins = 20
c.channels = ["#valvearg2", "#valvearg3"]
c.plugins.plugins = [ValveARG]
end
end
bot.start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment