From 78640c553633412dfbb09f0028e19cb24ba7e343 Mon Sep 17 00:00:00 2001 From: Brett Goulder Date: Thu, 12 Jan 2012 09:08:05 -0700 Subject: [PATCH] Now that Corey is back... --- lib/fbomb/commands/builtin.rb | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/lib/fbomb/commands/builtin.rb b/lib/fbomb/commands/builtin.rb index 650ff64..3b3fc11 100644 --- a/lib/fbomb/commands/builtin.rb +++ b/lib/fbomb/commands/builtin.rb @@ -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 - } }