Add a "boobies" command

This commit is contained in:
Robert Gerus 2014-03-09 16:04:54 +01:00
parent fe363b8d49
commit 10857d16c1

View file

@ -0,0 +1,7 @@
require 'net/http'
require 'time'
require 'nokogiri'
Client.register_command("cycki") { |args|
Nokogiri::HTML(Net::HTTP.get(URI('http://oboobs.ru/random/'))).xpath('//img/@src').inner_text
}