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