ceda1e2adc
Fix some formatting and linting issues
2024-08-13 14:26:23 +01:00
2a835132dc
Improve output format for /list and /pause
2024-08-13 14:18:03 +01:00
005e352343
Don't use setdefault when we're just getting information
2024-08-13 14:17:36 +01:00
0f9b19fa34
Add logging to most missing commands
2024-08-13 14:02:43 +01:00
6f3a185654
Fix whitespace
2024-08-13 13:55:55 +01:00
57ee32b140
Fix bad print statement in /list command
2024-08-13 13:53:48 +01:00
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
503e899f19
Send a reminder message a day before a scheduled run
2024-08-12 23:29:40 +01:00
f0498ad389
Another fix for stupid formatting
...
flake8 is bad?
2024-08-12 23:05:48 +01:00
f51423aa42
Fix multiline for python 3.11
2024-08-12 23:04:24 +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
522f89cff9
Fix instance tests
2024-08-12 19:31:41 +01:00
bebef9d38a
Update the thread name to have the members
2024-08-12 19:29:47 +01:00
3ea779f7f2
Fix for python 3.11
2024-08-12 19:22:51 +01:00
d3e1d01c9b
Add thread creation to the match
2024-08-12 19:14:54 +01:00
34c8dc8ae2
Update the test name for regression tests
2024-08-11 23:03:39 +01:00
a22701b480
Improve the stress test
...
Have it progressively match groups bit by bit
2024-08-11 23:01:47 +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
0e80937092
Remove half-finished sentence
2024-08-11 22:11:56 +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
a5d7dae851
Fix indentation in matchy.py
2024-08-11 19:12:44 +01:00
c77c83c929
Pull the stress test parametes out so they're more obvious and can be tweaked
2024-08-11 19:09:38 +01:00
10b08264e4
Ensure we properly version the button custom ID
2024-08-11 19:04:43 +01:00
29d40cd80f
Fix up checking the auth scope for sending the button
2024-08-11 19:04:22 +01:00
78b3d002d8
Update the bot activity to the join message
2024-08-11 19:04:11 +01:00
7efe781e66
Implement user pausing with /pause
2024-08-11 19:02:47 +01:00
129721eb50
Move python files into py dir
2024-08-11 18:05:28 +01:00