Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Now that Corey is back...

  • Loading branch information...
commit 78640c553633412dfbb09f0028e19cb24ba7e343 1 parent cfb0e6c
@brettgoulder authored
Showing with 0 additions and 21 deletions.
  1. +0 −21 lib/fbomb/commands/builtin.rb
View
21 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
- }
}
Please sign in to comment.
Something went wrong with that request. Please try again.