Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
basic bot using isaac
require 'rubygems'
require 'isaac'
config do |c|
c.nick = "somefanfrickentasticbot"
c.server = "irc.freenode.net"
c.port = 6667
end
on :connect do
join "#somefanfrickentasticchannel"
end
on :channel, /.*/ do
msg channel, "Got your message #{nick} (#{match[0]})"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.