From 8fb76e4bd5abaf705b5f62248d7b04666f9e34a9 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Tue, 26 Apr 2022 12:16:16 -0700 Subject: [PATCH] Increase leaderboard size --- src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.rs b/src/utils.rs index 777736d..4b1bde4 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -378,7 +378,7 @@ pub fn get_avatar(user: &User) -> String { } pub async fn leaderboard(ctx: &Context) -> CommandResult { - const LENGTH: usize = 5; + const LENGTH: usize = 10; let mut submission_counts: HashMap = HashMap::new(); for challenge in 1..get_challenge_number() + 1 { let submission_data = get_submission_data(challenge);