-
-
Save mkroman/487290 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env ruby | |
# encoding: utf-8 | |
$:.unshift '~/Projects/DSI/lib' | |
require 'dsi' | |
require 'dsi/extensions' | |
options = { | |
hostname: 'irc.phora.net', | |
nickname: 'anura' | |
} | |
DSI.connect options do | |
on :start do | |
Extension.autoload | |
end | |
on :message do |user, channel, message| | |
channel.say "#{user.name}: mboy.. I wanna take pictures of you.." | |
end | |
on :ready do | |
join :phora | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment