Skip to content

Commit

Permalink
refactor: meake button emoji optional
Browse files Browse the repository at this point in the history
  • Loading branch information
SocketSomeone committed Jan 12, 2024
1 parent e64ed14 commit 2a6be8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/interfaces/necord-pagination-options.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { PaginationAction } from '../enums';
export interface ButtonAppearance {
style: Exclude<ButtonStyle, ButtonStyle.Link>;
label: string;
emoji: string;
emoji?: string;
}

export type ButtonsAppearance = {
Expand Down
2 changes: 1 addition & 1 deletion test/pagination.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class PaginationSpec implements OnModuleInit {
builder
.setCustomId('test')
.setMaxPages(5)
.setPagesFactory(page => new PageBuilder().setContent(`Page ${page}`))
.setPagesFactory(async page => new PageBuilder().setContent(`Page ${page}`))
);
}

Expand Down

0 comments on commit 2a6be8e

Please sign in to comment.