diff --git a/otouto/plugins/cats.lua b/otouto/plugins/cats.lua index 7daa660..99f6049 100755 --- a/otouto/plugins/cats.lua +++ b/otouto/plugins/cats.lua @@ -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 diff --git a/otouto/plugins/chatter.lua b/otouto/plugins/chatter.lua index 0a080c2..1e60875 100755 --- a/otouto/plugins/chatter.lua +++ b/otouto/plugins/chatter.lua @@ -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