This commit is contained in:
Cedric Hoelzl 2019-09-20 14:17:02 +02:00
parent e7671c5a42
commit 28258c600c

View File

@ -50,8 +50,8 @@ module.exports = function(url, cmds){
return reject(500);//response.statusCode); return reject(500);//response.statusCode);
} }
console.log(body) console.log(body)
console.log(body[reply]) console.log(body["reply"])
event.reply(body[reply]).catch(err=>bot.error(err)); event.reply(body["reply"]).catch(err=>bot.error(err));
return resolve(200); return resolve(200);
}); });