Matchy matches matchees
Find a file
2024-08-11 19:09:38 +01:00
.github/workflows Reorganise a little to put scripts in bin 2024-08-11 18:04:21 +01:00
.vscode Move python files into py dir 2024-08-11 18:05:28 +01:00
bin Ensure bash scripts exit on fail and explain what they're doing 2024-08-11 18:07:20 +01:00
py Pull the stress test parametes out so they're more obvious and can be tweaked 2024-08-11 19:09:38 +01:00
.gitignore Rename history to state as it's now storing more than just the history 2024-08-11 12:16:23 +01:00
README.md Add a readme entry for pausing 2024-08-11 19:03:44 +01:00
requirements.txt Add flake to the requirements.txt 2024-08-11 10:33:56 +01:00

Matchy

Matchy matches matchees.

Tests

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

Commands

/match [group_min: int(3)]

Matches groups of users in a channel and offers a button to pose those groups to the channel to users with matcher auth scope. Tracks historical matches and attempts to match users to make new connections with people with divergent roles, in an attempt to maximise diversity.

/join and /leave

Allows users to sign up and leave the group matching in the channel the command is used

/pause [days: int(7)]

Allows users to pause their matching in a channel for a given number of days

$sync and $close

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

Dependencies

  • python3 - Obviously
  • venv - Used for the python virtual env, specs in requirements.txt

Config

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

{
    "version": 1,
    "token": "<<github bot token>>",
}

TODO

  • Write bot tests with dpytest
  • Move more constants to the config
  • Add scheduling functionality
  • Fix logging in some sub files (doesn't seem to actually be output?)
  • Improve the weirdo