Matchy matches matchees
Find a file
Marc Di Luzio 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
.github/workflows Implement a history-based matching algorythm 2024-08-10 15:12:14 +01:00
.vscode Add vscode files 2024-08-10 09:45:22 +01:00
.gitignore Add loading config and history from memory 2024-08-10 10:06:13 +01:00
config.py Implement a history-based matching algorythm 2024-08-10 15:12:14 +01:00
files.py Implement a history-based matching algorythm 2024-08-10 15:12:14 +01:00
history.py Implement a history-based matching algorythm 2024-08-10 15:12:14 +01:00
matching.py Implement a history-based matching algorythm 2024-08-10 15:12:14 +01:00
matching_test.py Implement a history-based matching algorythm 2024-08-10 15:12:14 +01:00
matchy.py Implement a history-based matching algorythm 2024-08-10 15:12:14 +01:00
README.md Implement a history-based matching algorythm 2024-08-10 15:12:14 +01:00
run.sh Add run command to loop and run the bot 2024-08-10 00:02:14 +01:00

Matchy

Matchy matches matchees.

Matchy is a Discord bot that groups up users for fun and vibes. Matchy can be installed by clicking here.

Commands

/match

Matches groups of users with a given role and posts those groups to the channel.

$sync

Only usable by OWNER users, reloads the config and syncs commands. Only usable in DMs with the bot user.

Dependencies

  • python3 obviously
  • discord.py python module
  • pytest for testing

Config

Matchy is configured by a config.py file that takes this format:

TOKEN = "<<TOKEN>>"
OWNERS = [
    <<USER ID>>,
]

User IDs can be grabbed by turning on Discord's developer mode and right clicking on a user.

TODO

  • Write bot tests with dpytest
  • Add matching based on unique rolls?
  • Add scheduling functionality
  • Improve the weirdo