From 731c5ccdbaaf4ecca5f4ee3bd377b4b3f1572ca7 Mon Sep 17 00:00:00 2001 From: smsteel Date: Mon, 11 Feb 2019 16:31:52 +0300 Subject: [PATCH] kill count --- bot.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bot.js b/bot.js index e9cb6ad..f3c9d58 100644 --- a/bot.js +++ b/bot.js @@ -36,7 +36,6 @@ bot.hears( /^\/kills[ =](.+)$/, ctx => getAllKills(ctx.match[1]) .then(allKills => { - console.log(allKills) if (!allKills) { ctx.reply('Не найдено') return @@ -44,7 +43,7 @@ bot.hears( ctx.replyWithMarkdown( formattedStringTable( allKills.map(kills => ({ - 'монстр': getEntityName(kills.entityName), + 'монстр': getEntityName(kills), 'убийств': kills.killCount })) )