Skip to content

Commit 95fcb52

Browse files
committed
Merge branch 'dev' of github.com:GalvinPython/chatr into dev
2 parents 3cb9409 + fa8b67a commit 95fcb52

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

bot/src/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ const commands: Record<string, Command> = {
286286
}, interaction);
287287

288288
// Add a field for each user with a mention
289-
leaderboard.leaderboard.forEach((entry: { id: string; xp: number; }, index: number) => {
289+
leaderboard.leaderboard.slice(0, 10).forEach((entry: { id: string; xp: number; }, index: number) => {
290290
leaderboardEmbed.addFields([
291291
{
292292
name: `${index + 1}.`,

web/bun.lockb

246 KB
Binary file not shown.

0 commit comments

Comments
 (0)