Commit graph

33 commits

Author SHA1 Message Date
9b7789eac4 Add PFP designed by the wonderful heyheymomo
https://ko-fi.com/heyheymomo

Attribution with the "terms" provided on comission.
2024-08-14 20:37:09 +01:00
3a0bf82ecb Implement building with docker
See the README for usages and details.

A breaking changes here too:
* run.py is gone, we now handle that kind of thing with docker
* The token is out of the config and is now an ENVAR (ideally using a .env)
* `.json` files are now in a .matchy/ subdirectory, as this makes it a lot easier for the container to safely read

Bonus:
* fix a score_factors.setdefault call causing issues
* Reformat some of the readme
2024-08-14 16:55:23 +01:00
cbea7abca2 Update the readme with the grant command 2024-08-13 23:33:43 +01:00
c04c6d672d Remove the TODO about the matcher scope, makes sense now 2024-08-13 23:24:36 +01:00
f65497b91e Add a small TODO entry 2024-08-13 23:05:14 +01:00
f25dc8db35 Add a very basic ownership validation for the owner cog 2024-08-13 23:05:14 +01:00
0beb2128bd Rewrite bin scripts to python in scripts/ dir 2024-08-13 18:27:53 +01:00
caea1a46b5 A big README overhaul 2024-08-13 17:00:50 +01:00
503e899f19 Send a reminder message a day before a scheduled run 2024-08-12 23:29:40 +01:00
50f94b284b
Update README.md with info on /schedule command 2024-08-12 23:17:43 +01:00
8d399aae52 Remove the TODO for threads
No need to clean up, the server should have expiry timings set already
2024-08-12 19:18:14 +01:00
142de9b3ca Add some more TODO entries 2024-08-12 13:35:17 +01:00
10ac46b773 Update the README
* Add a note about using /join to rejoin
* Fix a link
* Remove a note about broken logging, seems to be working fine
2024-08-11 22:31:34 +01:00
9cf74580e9 Fix the readme link 2024-08-11 22:10:45 +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
5f66d3454c Add a readme entry for pausing 2024-08-11 19:03:44 +01:00
7efe781e66 Implement user pausing with /pause 2024-08-11 19:02:47 +01:00
f99f67789d Update the readme for the new commands and formats 2024-08-11 17:58:21 +01:00
d3a22ff090 Significant set of changes
* Use /join and /leave instead of roles
* Use scopes to check for user rights rather than using the config file
* Add /list to show the set of current people signed up
* Add a bunch more testing for various things
* Version both the config and the state
2024-08-11 17:53:37 +01:00
72f2c3540b Add a few more TODO entries 2024-08-11 11:56:55 +01:00
622e15c911 Update the run.sh and README for using venv 2024-08-11 10:36:44 +01:00
19a7b27f7b Add a tests badge 2024-08-10 22:49:50 +01:00
30ddc4a448 Update the README with more infomation 2024-08-10 22:04:21 +01:00
c87d7705cf Update the matching algorythm to take into account role similarity 2024-08-10 21:47:32 +01:00
d3eed67882 Add schema to the list of dependencies 2024-08-10 18:18:38 +01:00
874a24dd1d Implement a history-based matching algorythm
The bot will attempt to keep producing groups with entirely unique matches based on the full history of matches until it can't. It'll then step forward and ignore a week of history and try again, ignoring more history until no history is left
2024-08-10 15:12:14 +01:00
95cb8bc868 Update the README with useful info 2024-08-09 23:33:39 +01:00
fcba566e16 Add pytest to the readme 2024-08-09 23:15:16 +01:00
67b1feb51e Clean up and use role management for permissions 2024-08-08 17:16:59 +01:00
3da8065fa6 Use commands rather than text values
* Fix up the group matching to spread more evenly
* Also swap to using a config.py rather than .envrc or similar
2024-08-08 00:09:30 +01:00
2e9be1cace Update the README 2024-08-07 23:24:47 +01:00
a58a93659c Basic bot start from discordpy guide 2024-08-07 22:15:39 +01:00
c83336e17d Add empty README.md 2024-08-07 22:06:05 +01:00