Second rust rewrite of the Python Underdogs Cup Helper.
A Discord bot made to support the Underdogs Cup project, which is a lower-ranked Tetr.io tournament held around every 2 months.
Contains functionality to help with tournament management, but also to provide utility for players who are looking to view their stats or find their opponent.
Uses MongoDB as database backend and Serenity for the Discord bot side of things.
Following environment variables need to be set:
DATABASE_URL=<MongoDB database URL>
DISCORD_TOKEN=<Discord bot token>
RUST_LOG=<error/warn/info/debug/trace>
Make sure Rust is installed and set to stable release. Start the Discord bot with cargo run
.
Not that I expect anyone to contribute to this, but just in case:
- Use Clippy
- Add documentation when working in
database
andtetrio
modules
Open local documentation with cargo docs --open
That's about it thanks