diff --git a/plugins/gImages.lua b/plugins/gImages.lua index 30e8a59..c3a8764 100644 --- a/plugins/gImages.lua +++ b/plugins/gImages.lua @@ -38,14 +38,14 @@ function PLUGIN.action(msg) local jstr, res = HTTP.request(url) if res ~= 200 then - send_msg(target, 'Connection error.', ok_cb, false) + send_msg(msg, 'Connection error.') return end local jdat = JSON.decode(jstr) if #jdat.responseData.results < 1 then - send_msg(target, 'No results found.', ok_cb, false) + send_msg(msg, 'No results found.') return end diff --git a/plugins/help.lua b/plugins/help.lua index a265683..63750c1 100644 --- a/plugins/help.lua +++ b/plugins/help.lua @@ -7,7 +7,8 @@ PLUGIN.doc = [[ PLUGIN.triggers = { '^!help', - '^!h$' + '^!h$', + '^/help' } function PLUGIN.action(msg)