Add a "boobies" command
This commit is contained in:
parent
fe363b8d49
commit
10857d16c1
1 changed files with 7 additions and 0 deletions
7
plugins/commands/cycki.rb
Normal file
7
plugins/commands/cycki.rb
Normal 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
|
||||
}
|
Loading…
Reference in a new issue