<commit_before># Introduction

A simple Discord bot for forming teams for pickup games. Right now, it's made with Heroes of the Storm in mind.

# Status

Alpha-quality! Hasn't been used for any pickup games...yet.

# Commands

### !startpickup

Starts a new pickup game

### !joinpickup [mmr]

Adds the player to the current pickup game with the given MMR. If it is not specified, use a default MMR of 1700.

If the MMR is not parsable, or is outside a reasonable range of MMRs, it is ignored.

### !stoppickup

Stops the pickup game.

Games should expire after 5 minutes of the first `!startpickup` command.

# Deploying

Files for running on Heroku are included.
<commit_msg>Expanded README<commit_after>## Introduction

A simple Discord bot written with discord.py for forming teams for pickup games. Right now, it's made with Heroes of the Storm in mind.

Someone starts a pickup game, then players join the pickup in progress. After ten players have joined, the MMRs specified are used to produce two teams of approximately equal skill.

The balancing algorithm works by sorting players by their skill, pairing players with the closest player of approximate skill, and splitting the pair between teams. To prevent team 1 from being weighted too heavily towards better players, we alternate which team the first player of a pair is assigned to.

Currently, this is **alpha quality**! It hasn't been used for any pickup games...yet.

## Commands

### !startpickup

Starts a new pickup game

### !joinpickup [mmr]

Adds the player to the current pickup game with the given MMR. If it is not specified, use a default MMR of 1700.

If the MMR is not parsable, or is outside a reasonable range of MMRs, it is ignored.

### !stoppickup

Stops the pickup game.

Games should expire after 5 minutes of the first `!startpickup` command.

## Deploying

Files for running on Heroku are included.

{'fraction_non_alphanumeric': 0.05505558496559026, 'fraction_numerical': 0.005823186871360508, 'mean_word_length': 4.121951219512195, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1475898', 'n_tokens_mistral': 549, 'n_tokens_neox': 508, 'n_words': 298}