Chris Sexton
60678fcad2
add rate limit middleware
2022-07-07 11:28:22 -04:00
Chris Sexton
46e61f69d0
counter: use blank ID if none found
...
This fixes an issue where if the user hasn't spoken since the bot
restarted, the counter can't increment.
2022-05-30 19:15:17 -04:00
Chris Sexton
32cca1497a
counter: add increment by N api
2022-05-05 18:15:38 -04:00
Chris Sexton
9670e0e657
counter: reorder goal and count
2021-12-04 16:05:19 -05:00
Chris Sexton
6d004d8d1f
counter: fix api and add a message when one exists
2021-11-28 14:22:22 -05:00
Chris Sexton
338293cf42
counter: use channel in api update
2021-11-18 17:21:04 -05:00
Chris Sexton
fd670339c0
counter: api should update goals
2021-11-18 16:50:50 -05:00
Chris Sexton
3343a98802
pubsub: add counter pub
2021-11-15 20:51:40 -05:00
Chris Sexton
13e16c9f01
web: change to embedded pages
...
counter: embed counter page
admin: move vars and apppass to embedded
secrets: move to embedded
cli: move to embed
meme: move to embed
fact: move to embed
bot: move to embed
fix write command
2021-07-29 13:00:33 -04:00
Chris Sexton
7ba9d94ac2
counter: add api, bot: change routes
...
* many routes changed by adding the chi router
* counter has an authenticated API to increment and decrement
2021-07-28 11:41:01 -04:00
Chris Sexton
c47a4f7c6f
web: migrate endpoint registration to chi
2021-07-28 11:41:01 -04:00