ehh...
parent
03ac69cc6d
commit
fbc2c1b68d
|
@ -5,7 +5,6 @@ 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", "")
|
||||
p link
|
||||
end while link !~ /http/
|
||||
Config[:commands][:cycki][:message] + link
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue