Skip to content

Commit

Permalink
Fix paginator timeout bug
Browse files Browse the repository at this point in the history
  • Loading branch information
No767 committed Nov 7, 2023
1 parent a965af9 commit c0075b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/libs/utils/pages/paginator.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ async def interaction_check(self, interaction: discord.Interaction) -> bool:

async def on_timeout(self) -> None:
if self.followup:
await self.followup.edit(view=None)
await self.interaction.edit_original_response(view=None)

async def on_error(
self, interaction: discord.Interaction, error: Exception, item: discord.ui.Item
Expand Down

0 comments on commit c0075b5

Please sign in to comment.