Skip to content

Commit

Permalink
Fix !meme cc @inky
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiew committed Nov 13, 2013
1 parent 0b15d36 commit f62dca3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fatbot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ def ops?(nick)

# print a randomly generated meme phrase using Automeme API by @inky
on :channel, /^\!meme$/i do
meme = open("http://meme.boxofjunk.ws/moar.txt?lines=1").read.chomp rescue 'ERROR: could not reach AutoMeme :-('
meme = open("http://api.automeme.net/moar.txt?lines=1").read.chomp rescue 'ERROR: could not reach AutoMeme :-('
msg channel, meme
end

# print a hipster-meme quote
on :channel, /^\!hipster$/i do
meme = open("http://meme.boxofjunk.ws/moar.txt?lines=1&vocab=hipster").read.chomp rescue 'ERROR: could not reach AutoMeme :-('
meme = open("http://api.automeme.net/moar.txt?lines=1&vocab=hipster").read.chomp rescue 'ERROR: could not reach AutoMeme :-('
msg channel, meme
end

Expand Down

0 comments on commit f62dca3

Please sign in to comment.