diff --git a/config.js b/config.js index 5f23231..3811918 100644 --- a/config.js +++ b/config.js @@ -70,8 +70,7 @@ module.exports = function(url, cmds){ }, get_action : (bot,req,rep)=>{ console.log(req.body.args) - rep.type('application/json').code(200) - return { reply: req.query.args } + rep.type('application/json').code(200).send({reply: req.query.args }); }, }],