Skip to content
This repository has been archived by the owner on Jan 8, 2023. It is now read-only.

IceDynamix/uc_helper_rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Underdogs Cup Helper Rust

Travis CI build status LoC Count

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.

Running

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.

Contributing

Not that I expect anyone to contribute to this, but just in case:

  • Use Clippy
  • Add documentation when working in database and tetrio modules

Open local documentation with cargo docs --open

That's about it thanks

About

Discord bot for the Underdogs Cup Discord server

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages