master
Robert Gerus 2014-04-27 14:12:18 +02:00
parent db6b4fd20e
commit 03ac69cc6d
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ Client.register_command("cycki") { |args|
link = ""
begin
link = Nokogiri::HTML(Net::HTTP.get(URI(Config[:commands][:cycki][:url]))).xpath('//img/@src').inner_text.gsub("_preview", "")
puts link
p link
end while link !~ /http/
Config[:commands][:cycki][:message] + link
}