diff --git a/config.js b/config.js index a20fca5..c801455 100644 --- a/config.js +++ b/config.js @@ -50,6 +50,7 @@ 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)); return resolve(200); @@ -69,7 +70,6 @@ module.exports = function(url, cmds){ post_action : (bot,req,rep)=>{ }, get_action : (bot,req,rep)=>{ - console.log(req.query.args) rep.type('application/json').code(200).send({reply: req.query.args }); },