Skip to content

Commit

Permalink
remove custom_id parameter from default PaginatorMenu (#1270)
Browse files Browse the repository at this point in the history
fixes #1269
  • Loading branch information
krittick authored Apr 16, 2022
1 parent b6765d0 commit 5f38899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord/ext/pages/pagination.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ async def interaction_check(self, interaction: discord.Interaction) -> bool:

def add_menu(self):
"""Adds the default :class:`PaginatorMenu` instance to the paginator."""
self.menu = PaginatorMenu(self.page_groups, placeholder=self.menu_placeholder, custom_id="pages_group_menu")
self.menu = PaginatorMenu(self.page_groups, placeholder=self.menu_placeholder)
self.menu.paginator = self
self.add_item(self.menu)

Expand Down

0 comments on commit 5f38899

Please sign in to comment.