more bugfixes!
This commit is contained in:
parent
4cf00227f6
commit
b130bf8b5b
@ -24,7 +24,7 @@ function cats:action(msg, config)
|
|||||||
|
|
||||||
local str, res = HTTP.request(url)
|
local str, res = HTTP.request(url)
|
||||||
if res ~= 200 then
|
if res ~= 200 then
|
||||||
utilities.send_reply(self, msg, onfig.errors.connection)
|
utilities.send_reply(self, msg, config.errors.connection)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -6,6 +6,7 @@ local HTTP = require('socket.http')
|
|||||||
local URL = require('socket.url')
|
local URL = require('socket.url')
|
||||||
local JSON = require('dkjson')
|
local JSON = require('dkjson')
|
||||||
local bindings = require('otouto.bindings')
|
local bindings = require('otouto.bindings')
|
||||||
|
local utilities = require('otouto.utilities')
|
||||||
|
|
||||||
function chatter:init(config)
|
function chatter:init(config)
|
||||||
if not config.simsimi_key then
|
if not config.simsimi_key then
|
||||||
|
Reference in New Issue
Block a user