This commit is contained in:
Cedric Hoelzl 2019-09-20 14:00:41 +02:00
parent c1d4f4077d
commit e7671c5a42

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);
}); });