From cb6368c78c2c3cdc0ff63be600750e81f815ce8c Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Tue, 31 May 2022 19:39:45 -0400 Subject: refactoring & changes to steal command --- src/commands/leveling/leaderboard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/leveling/leaderboard.ts') diff --git a/src/commands/leveling/leaderboard.ts b/src/commands/leveling/leaderboard.ts index c79a4e3..f476ac1 100644 --- a/src/commands/leveling/leaderboard.ts +++ b/src/commands/leveling/leaderboard.ts @@ -48,6 +48,6 @@ export default class LeaderboardCommand extends BushCommand { const embeds = chunked.map((c) => new EmbedBuilder().setTitle(`${message.guild.name}'s Leaderboard`).setDescription(c.join('\n')) ); - return await ButtonPaginator.send(message, embeds, undefined, true, args?.page ?? undefined); + return await ButtonPaginator.send(message, embeds, undefined, true, args.page ?? undefined); } } -- cgit