Commit graph

12 commits

Author SHA1 Message Date
39bb8dbf19 Remove unused timedelta import
All checks were successful
Test, Build and Publish / test (pull_request) Successful in 33s
Test, Build and Publish / build-and-push-images (pull_request) Successful in 1m10s
2024-09-22 14:23:59 +01:00
7491a4d2f8 Account for the cadence in all the messages
Some checks failed
Test, Build and Publish / test (pull_request) Failing after 23s
Test, Build and Publish / build-and-push-images (pull_request) Has been skipped
2024-09-22 14:20:47 +01:00
381756ce91 Merge main 2024-08-17 22:39:07 +01:00
125105469a Pull out all strings the bot says to a class
Also implement a randomised wrapper
2024-08-17 21:57:27 +01:00
69005ef498 Convert State to global
This was just getting too painful to manage, especially passing around these state objects
2024-08-17 14:58:19 +01:00
f926a36069 Fix /leave not working for anyone who's paused in the past
Some checks failed
Test, Build and Publish / test (push) Has been cancelled
Test, Build and Publish / build-and-push-images (push) Has been cancelled
We now clear the re-activate value when a user is unpaused.

Added bonus here is various bits of refactor and cleanup, with some tests
2024-08-17 14:14:45 +01:00
e8ff102e33 Some matching cleanup and move a utility function out 2024-08-16 23:28:07 +01:00
964e1c8f84 Move state back out of it's own lil module 2024-08-16 23:23:18 +01:00
c9446605bc Move ops functions into state 2024-08-16 23:21:20 +01:00
5e262deda6 Remove config, YAGNI 2024-08-16 23:15:43 +01:00
a5d66aca4e Fix a bunch of failed imports and types from previous changes 2024-08-16 10:25:01 +01:00
92bc50396b Huge re-org to match normal python project structure 2024-08-14 22:42:53 +01:00