diff --git a/bot.js b/bot.js index 5e1ab78..d803574 100644 --- a/bot.js +++ b/bot.js @@ -262,12 +262,6 @@ function showShoppingList() { }) } -bot.hears(/counter/i, (ctx, next) => { - ctx.session.counter = ctx.session.counter || 1 - ctx.session.counter = ctx.session.counter + 1 - ctx.replyWithMarkdown(`Counter updated, new value: \`${ctx.session.counter}\``) - return next() -}) bot.hears(/dailytask/i, (ctx) => { listTasks()