From 9b7760880d7e863691b41df1bee10b4e02001bb8 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 23 May 2020 13:45:19 -0400 Subject: [PATCH] Fix --- commands/util/command-leaderboard.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/util/command-leaderboard.js b/commands/util/command-leaderboard.js index e1af5568..0ceaab77 100644 --- a/commands/util/command-leaderboard.js +++ b/commands/util/command-leaderboard.js @@ -15,8 +15,8 @@ module.exports = class CommandLeaderboardCommand extends Command { key: 'page', prompt: 'What page do you want to view?', type: 'integer', - min: 1, - max: Math.ceil(this.client.registry.commands.size / 10) + default: 1, + min: 1 } ] });