kill count

This commit is contained in:
smsteel 2019-02-11 16:23:07 +03:00
parent 5be284d4dc
commit 76bd731623

2
bot.js
View File

@ -33,7 +33,7 @@ bot.command(
)) ))
) )
bot.hears( bot.hears(
/^\/kills[ =](.+)$/, /^kills (.+)$/,
ctx => getAllKills(ctx.match[1]) ctx => getAllKills(ctx.match[1])
.then(allKills => { .then(allKills => {
if (!allKills) { if (!allKills) {