From 407d34e99e8749950c835b8cb5e445e526e8cd40 Mon Sep 17 00:00:00 2001 From: gennyble Date: Sat, 19 Apr 2025 12:15:03 -0500 Subject: blorb --- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 17 +++++++---------- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 928febe..ef4ce70 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -467,7 +467,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" [[package]] -name = "kindbloot" +name = "leaberblord" version = "0.1.0" dependencies = [ "anyhow", diff --git a/Cargo.toml b/Cargo.toml index cb55317..9bbf72d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "kindbloot" +name = "leaberblord" version = "0.1.0" edition = "2024" diff --git a/README.md b/README.md index e3707ce..9dc625d 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,10 @@ EMBOARD is end-of-life and I have a need for a leaderboard bot. How hard could it be? -Requirements: -we want to match EMBOARDs interface. here are the commands it supports: -- `leaderboard` - Displays the top 10 members in the leaderboard. -- `clearpoints [user]` - Clears the points from a user -- `addpoints [points] [user]` - Add [points] to [users] (could be multiple, just mention them in [users] argument). -- `removepoints [points] [user]` - ove [points] to [users] (could be multiple, just mention them in [users] argument). \ No newline at end of file +Uh oh, the code is kinda bad. + +Requirements- We want to do what emboard can at least. here is what we do so far. +- `leaderboard`: Displays the leaderboard. +- `points [points] [user]`: Change the points of the mentioned users +- `permission none`: No permissions are required to change the score; anyone may set the score. This command requires the Manage Server permission. +- `permission role [role]`: A specific role is required to change the score. This command requires the Manage Server permission. \ No newline at end of file -- cgit 1.4.1-3-g733a5