diff --git a/README.md b/README.md index 5bd537a..94f0eab 100644 --- a/README.md +++ b/README.md @@ -47,8 +47,8 @@ Try to bargain for your release with the chatter that shot you, or just call the ### Leaderboards There are 3 types of leaderboards: monthlyKD, alltimeKD and qbucks. -- The monthlyKD leaderboard (command: `monthlyleaderboard`) gives you the leaderboard of the top 5 user Kill/Death ratios for the current month. -- The alltimeKD leaderboard (command: `alltimeleaderboard`) gives you the leaderboard of the top 5 user Kill/Death ratios of all time in the channel. +- The monthlyKD leaderboard (command: `monthlyleaderboard`) gives you the leaderboard of the top 10 user Kill/Death ratios for the current month. +- The alltimeKD leaderboard (command: `alltimeleaderboard`) gives you the leaderboard of the top 10 user Kill/Death ratios of all time in the channel. - The qbucks leaderboard (command: `qbucksleaderboard`) gives you the current leaderboard of the top 10 qbucks havers. To appear on the KD leaderboards you need to have been timed out 5 times, in the specified timeframe. diff --git a/src/commands/alltimekdleaderboard.ts b/src/commands/alltimekdleaderboard.ts index 5db5cd0..9de0d6c 100644 --- a/src/commands/alltimekdleaderboard.ts +++ b/src/commands/alltimekdleaderboard.ts @@ -25,7 +25,7 @@ export default new Command({ userKDs.sort((a, b) => b.kd - a.kd); const txt: string[] = []; - for (let i = 0; i < (userKDs.length < 5 ? userKDs.length : 5); i++) { + for (let i = 0; i < (userKDs.length < 10 ? userKDs.length : 10); i++) { txt.push(`${i + 1}. ${userKDs[i]?.user.displayName}: ${userKDs[i]?.kd.toFixed(2)}`); }; diff --git a/src/commands/monthlykdleaderboard.ts b/src/commands/monthlykdleaderboard.ts index 04fd458..26371b0 100644 --- a/src/commands/monthlykdleaderboard.ts +++ b/src/commands/monthlykdleaderboard.ts @@ -27,7 +27,7 @@ export default new Command({ userKDs.sort((a, b) => b.kd - a.kd); const txt: string[] = []; - for (let i = 0; i < (userKDs.length < 5 ? userKDs.length : 5); i++) { + for (let i = 0; i < (userKDs.length < 10 ? userKDs.length : 10); i++) { txt.push(`${i + 1}. ${userKDs[i]?.user.displayName}: ${userKDs[i]?.kd.toFixed(2)}`); };