Skip to content

Commit

Permalink
fix: ignore other components
Browse files Browse the repository at this point in the history
  • Loading branch information
imranbarbhuiya committed Jan 26, 2022
1 parent e8149c1 commit d52457f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Pagination.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ export class Pagination extends PaginationEmbed {
*/
paginate(message: Message): this {
const collector = message.createMessageComponentCollector({
filter: ({ customId }) => customId.startsWith("paginate-"),
idle: this.idle,
});

Expand Down

0 comments on commit d52457f

Please sign in to comment.