Skip to content

Commit

Permalink
Merge formatting
Browse files Browse the repository at this point in the history
Merge formatting into main
  • Loading branch information
github-actions[bot] authored Aug 6, 2024
2 parents c8dd069 + 91c546a commit 4ac9f29
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/util/Functions/number.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ export function assignRanks(leaderboard: any[], start: number = 0) {
...item,
};
});
}
}
6 changes: 5 additions & 1 deletion src/util/pagination.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ export default class Paginator {
return this;
}

async start(interaction: any, type: string | null, leaderboard: string | null = "none") {
async start(
interaction: any,
type: string | null,
leaderboard: string | null = "none",
) {
if (!interaction || !interaction.channelId || !this.pages.length) return;
let pFirst = new ButtonBuilder()
.setDisabled(true)
Expand Down

0 comments on commit 4ac9f29

Please sign in to comment.