Skip to content

Instantly share code, notes, and snippets.

@hkolbeck
Last active December 12, 2015 04:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hkolbeck/4712242 to your computer and use it in GitHub Desktop.
Save hkolbeck/4712242 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'isaac'
configure do |c|
c.nick = 'ExplainerBot'
c.server = 'dev.urbanairship.com'
c.port = 6697
c.ssl = true
end
on :connect do
join '#inane'
end
on :channel, /\?$/ do
if rand(100) > 90
msg channel, "Because computer."
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment