diff --git a/config.js b/config.js index 6ae455a..52f2fad 100644 --- a/config.js +++ b/config.js @@ -50,8 +50,8 @@ module.exports = function(url, cmds){ return reject(500);//response.statusCode); } console.log(body) - console.log(body[reply]) - event.reply(body[reply]).catch(err=>bot.error(err)); + console.log(body["reply"]) + event.reply(body["reply"]).catch(err=>bot.error(err)); return resolve(200); });