f00216fffc
Remove the unneeded full tracking of history
...
Also use setdefault() to save a bunch of pain
Prevent a silly exhaustive history search on all channel times rather than just current users
2024-08-13 00:12:30 +01:00
07485ceb8d
Implement /schedule
...
Allows matchers to schedule repeated weekly runs on a given weekday and hour
Can schedule multiple runs
Scheduled runs can be cancelled with cancel:True in the command
/list also shows any scheduled commands in that channel
2024-08-12 23:00:49 +01:00
87da9b9673
Ensure a valid (but empty) config dict
2024-08-11 22:42:23 +01:00
f7018e892d
Allow not having a config file, otherwise pytest can't collect tests without it
2024-08-11 22:35:07 +01:00
145907a0df
Update the date format in the statefile
2024-08-11 22:31:20 +01:00
9043615498
Move core matching factors to the config file
...
Bonus changes here were making the config a singleton, fixing some more tests and then re-writing the stress test because it was pissing me off.
2024-08-11 22:07:43 +01:00
129721eb50
Move python files into py dir
2024-08-11 18:05:28 +01:00