We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b839a3e commit 1c5c862Copy full SHA for 1c5c862
discord/ext/pages/pagination.py
@@ -419,7 +419,9 @@ async def cancel(
419
The page content to show after canceling the paginator.
420
"""
421
for item in self.children:
422
- if item not in self.custom_view_items or include_custom:
+ if include_custom:
423
+ self.clear_items()
424
+ elif item not in self.custom_view_items:
425
self.remove_item(item)
426
await self.message.edit(
427
content=page if isinstance(page, str) else None,
0 commit comments