diff --git a/config.js b/config.js index c801455..6ae455a 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); });