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