Skip to content

Commit

Permalink
add KANYE command. also, swineflu taco
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Wilkinson committed May 13, 2009
1 parent 0d586e8 commit 65c0452
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion fatbot.rb
Expand Up @@ -59,6 +59,12 @@ def ops?(nick)
msg channel, meme
end

# print a Kanye quote from THE QUOTABLE KANYE, http://jamiedubs.com/quotable-kanye/
on :channel, /^\!kanye/i do
quote = open("http://jamiedubs.com/quotable-kanye/api.txt").read.chomp
msg channel, quote
end

# post to a shared twitter account
on :channel, /^\!twitter (.*)/i do
cred = YAML.load('twitter.yml')
Expand Down Expand Up @@ -98,7 +104,7 @@ def ops?(nick)
# give you a taco. via gerry
# TODO: we need more tacos
on :channel, /^\!taco/i do
tacos = ['carnitas', 'barbacoa', 'fish', 'shrimp']
tacos = ['carnitas', 'barbacoa', 'fish', 'shrimp', 'swineflu']
# raw ["ACTION #{channel} :/me ", "gives #{nick} a #{tacos[(rand*tacos.length).floor]} taco"].join
raw ["NOTICE #{channel} :", "gives #{nick} a #{tacos[(rand*tacos.length).floor]} taco"].join
end
Expand Down

0 comments on commit 65c0452

Please sign in to comment.