post urls.
This commit is contained in:
parent
2184fb796e
commit
8e7de643df
1 changed files with 1 additions and 1 deletions
|
@ -2,6 +2,6 @@ require 'net/http'
|
|||
require 'nokogiri'
|
||||
|
||||
Client.register_command("bug") { |args|
|
||||
Nokogiri::HTML(Net::HTTP.get(URI(Config[:commands][:bug][:url] + args[0]))).title().delete!('\n')
|
||||
Config[:commands][:bug][:url] + args[0] + Nokogiri::HTML(Net::HTTP.get(URI(Config[:commands][:bug][:url] + args[0]))).title().delete!('\n')
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue