From e7671c5a42efd4a66506e13703093d6da565c9bf Mon Sep 17 00:00:00 2001 From: Cedric Hoelzl Date: Fri, 20 Sep 2019 14:00:41 +0200 Subject: [PATCH] fix --- config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); });