This commit is contained in:
Dragon Fire
2020-05-23 13:44:53 -04:00
parent 72c8d382c5
commit 93fcdfbea7
+1 -1
View File
@@ -16,7 +16,7 @@ module.exports = class CommandLeaderboardCommand extends Command {
prompt: 'What page do you want to view?',
type: 'integer',
min: 1,
max: () => Math.ceil(this.client.registry.commands.size / 10)
max: Math.ceil(this.client.registry.commands.size / 10)
}
]
});