Commit graph

24 commits

Author SHA1 Message Date
d517ccb150 Add a new $grant command to let the owner give others the matcher scope 2024-08-13 23:24:14 +01:00
9131fa48ca Fix a couple of linting errors 2024-08-13 23:08:50 +01:00
d856b74d1c Fix the format breaking the match print again 2024-08-13 23:05:14 +01:00
d3cdec3965 Move the cogs into a subdir 2024-08-13 23:05:14 +01:00
f4f6df90fb Pull out the owner cog parts
Also make them use is_owner() rather than custom auth
2024-08-13 20:28:10 +01:00
723fa5dfba Pull out the majority of functionality into a cog 2024-08-13 20:27:55 +01:00
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
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
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
bebef9d38a Update the thread name to have the members 2024-08-12 19:29:47 +01:00
d3e1d01c9b Add thread creation to the match 2024-08-12 19:14:54 +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
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
Renamed from matchy.py (Browse further)