fixup.
This commit is contained in:
parent
8987a71513
commit
db6b4fd20e
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +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
|
||||
end while link !~ /http/
|
||||
Config[:commands][:cycki][:message] + link
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue