kill count

This commit is contained in:
smsteel 2019-02-11 16:21:15 +03:00
parent ac755538f7
commit 5be284d4dc

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) {