Skip to content

Commit

Permalink
Adding v0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
nahakiole committed Oct 1, 2022
1 parent 6b8c63a commit 84a7fac
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 84a7fac

Please sign in to comment.