Created
July 2, 2012 20:48
-
-
Save numinit/3035608 to your computer and use it in GitHub Desktop.
The original ARGBot!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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