Commit graph

66 commits

Author SHA1 Message Date
b6b26b43a4 Rename the testing yml 2024-08-10 22:21:52 +01:00
787da53978
Update pytest.yml to force push the tags 2024-08-10 22:07:44 +01:00
07efbf30de Update the run command to use the validated tag 2024-08-10 22:06:08 +01:00
30ddc4a448 Update the README with more infomation 2024-08-10 22:04:21 +01:00
351dccf9e2 Fix whitespace 2024-08-10 21:53:20 +01:00
7e8fdaa510
Update pytest.yml to add a tag 2024-08-10 21:52:16 +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
b05f0be71f Add schema to required modules 2024-08-10 16:35:52 +01:00
db90a22efe Remove pytest timeout
This is literally in the documentation??
2024-08-10 16:35:00 +01:00
292897073a Ensure we don't bother testing group sizes of 1 2024-08-10 16:32:48 +01:00
01b7f1d249 Add a stress test to validate a significant set of settings 2024-08-10 16:30:56 +01:00
1bef611806 Ensure we don't approve when groups are lower than the requested number 2024-08-10 16:30:33 +01:00
e002c5c9d5 Adjust to simply step forward in time until present day 2024-08-10 15:13:42 +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
ed2375386b Pull file operations out to a files.py 2024-08-10 10:58:31 +01:00
96fb77f71f Some refactoring of the new external files 2024-08-10 10:55:09 +01:00
c44f16dd8f Pull out the config and history classes 2024-08-10 10:45:44 +01:00
d0865bd780 Add match data to the history 2024-08-10 10:25:11 +01:00
9824e9220b Add loading config and history from memory 2024-08-10 10:06:13 +01:00
46195bd196 Add vscode files 2024-08-10 09:45:22 +01:00
6fbb598886 Pull out matching functions into their own file 2024-08-10 09:44:22 +01:00
331677ad09 Add run command to loop and run the bot 2024-08-10 00:02:14 +01:00
1816e38db6 Add command to close the bot 2024-08-10 00:01:43 +01:00
ca24cb4b93 Rename the Python testing github action 2024-08-09 23:50:53 +01:00
26bda80985
Update pylint.yml with actions/setup-python@v5 2024-08-09 23:50:08 +01:00
eb3cd54df0
Update pylint.yml with pytest 2024-08-09 23:48:32 +01:00
e91493d5b7
Update pylint.yml with --max-line-length 120 2024-08-09 23:47:26 +01:00
85132e2fc2
Use flake8 in pylint.yml 2024-08-09 23:44:43 +01:00
2008e2e090 Merge branch 'main' of github.com:mdiluz/matchy 2024-08-09 23:43:15 +01:00
8ff0064c93 Make the config import optional 2024-08-09 23:42:28 +01:00
5dba9f6d3e
Update pylint.yml with discord and pytest dependencies 2024-08-09 23:36:48 +01:00
f7b65a6bd4
Set the python version to only 3.11 2024-08-09 23:35:47 +01:00
9f65c879f9
Create pylint.yml Github Action 2024-08-09 23:35:02 +01:00
95cb8bc868 Update the README with useful info 2024-08-09 23:33:39 +01:00
24026737a7 Fix for python 3.11 2024-08-09 23:16:33 +01:00
fcba566e16 Add pytest to the readme 2024-08-09 23:15:16 +01:00
5693751c0a Add a text class using pytest 2024-08-09 23:14:42 +01:00
fe16c3f85d Some last bits of linting 2024-08-09 22:53:28 +01:00
adaa962fed Fix up duplicated matchee_role name 2024-08-09 22:50:22 +01:00
31cbdf61ab Enact a bunch of suggestions by pylint 2024-08-09 22:36:49 +01:00
354e202b18 Run autopep8 formatting 2024-08-09 22:12:58 +01:00
05ed2cee9c Many more improvements
* Remove caching guilds not really needed
* Set the bot prescense
* Allow anyone to match, but only Matchers to use a button to post
* Allow specifying the matchee role (can also use @everyone)
* Lots of cleanup and refactor
2024-08-09 22:08:05 +01:00
99d7866bf4 Clean up the output for each group and the hidden replies 2024-08-09 16:39:29 +01:00
723659344b Update the sync command to report progress 2024-08-09 16:34:11 +01:00
b98fa7469a Clean up and remove extra ordinal guff 2024-08-09 14:12:28 +01:00
9f5cc9bb49 Allow reloading the config on the $sync command
This lets us keep higher uptime if needed
2024-08-09 14:03:53 +01:00
b6a4bdf46c Set commands to be dm or guild only 2024-08-09 00:32:59 +01:00
f082b9df42 Fix double interaction when not posting 2024-08-09 00:29:24 +01:00
cd18e44032 Fix the bool fiasco with dry_run
bools can't be None, so we can't inverse this
2024-08-09 00:28:06 +01:00