Skip to content

Commit

Permalink
Now that Corey is back...
Browse files Browse the repository at this point in the history
  • Loading branch information
brettgoulder committed Jan 12, 2012
1 parent cfb0e6c commit 78640c5
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions lib/fbomb/commands/builtin.rb
Expand Up @@ -344,26 +344,5 @@
end
}

command(:boob){
setup{ require "google-search" }

urls = [
'http://i68.photobucket.com/albums/i23/jeff_bennion/Cracked/Underboobashx.jpg',
'http://i68.photobucket.com/albums/i23/jeff_bennion/Cracked/under.jpg',
'http://i68.photobucket.com/albums/i23/jeff_bennion/Cracked/corsetlarge042.jpg',
'http://i68.photobucket.com/albums/i23/jeff_bennion/Cracked/HotCorset.jpg'
]

call do |*args|
if args.first == 'bomb'
n = Integer(args[1] || [3, rand(10)].max)
images = Google::Search::Image.new(:query => 'boobs', :image_size => :medium)
images = images.map{|result| result.uri}.uniq.sort_by{ rand }
n.times{ speak(msg = images.pop) }
else
speak(urls.sample)
end
end
}
}

0 comments on commit 78640c5

Please sign in to comment.