A discord bot that works with your pugbot!
As long as pugbot's match messages syntax do not change, this bot will continue to recognize matches and record matches, players, and win/losses. If that syntax does change, an update to rankone.parser is required.
This bot requires DISCORD_GUILD
and DISCORD_TOKEN
environment variables to be set.
On channels that the bot is configured to monitor, any matches that start with:
Teams have been selected:
will be read and any players mentioned within next to red team
will be considered as red team players. Likewise for blue team
players. A match is created based on this message.
Teams have been selected:
red team: @tenz @MYTHIC
blue team: @monty @°Vapor°
Once the match has been completed, a 🔵 reaction emoji placed on the message will allow the bot to register that blue team players won the match and award them elo while taking away elo from red players. Likewise a 🔴 reaction emoji will award red team players elo.
Get your current elo
Get elo of discordmember
and discordmember2
Get the elo leaderboard
Get the biggest loserr
Get the current version of the bot running
Reset elo to the default elo for all registered players
Reset the entire database back to the starting point
Backup the database to a file named <id>
. If <id>
is not given, one is generated.
Restore an existing db from a backup id of <id>