Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Got things connectng - starting to work out bugs in the responder chain
- Loading branch information
Ryan Neufeld
authored and
Ryan Neufeld
committed
Mar 13, 2010
1 parent
724c5dc
commit 7283861
Showing
7 changed files
with
45 additions
and
31 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,5 +17,6 @@ tmtags | |
coverage | ||
rdoc | ||
pkg | ||
log | ||
|
||
## PROJECT::SPECIFIC |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
require 'rubygems' | ||
require 'botfly' | ||
|
||
Botfly.login("mucker@limun.org/bot","CD.mucker") do | ||
on.message do | ||
require 'yaml' | ||
|
||
config = YAML::load(ARGF.read) if ARGF | ||
puts config.inspect | ||
bot = Botfly.login(config["jid"],config["pass"]) do | ||
on.message.nick(/rkneufeld/) do | ||
say("You don't say!") | ||
end | ||
connect | ||
end | ||
loop {} |
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
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
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
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