Skip to content

Commit 132cd05

Browse files
committed
rename stop method to disable to avoid subclassing View method
1 parent fb79fe7 commit 132cd05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/ext/pages/pagination.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ async def on_timeout(self) -> None:
379379
item.disabled = True
380380
await self.message.edit(view=self)
381381

382-
async def stop(self) -> None:
382+
async def disable(self) -> None:
383383
"""Stops the paginator, disabling all of its components. Does not disable components added via custom views."""
384384
for item in self.children:
385385
if isinstance(item, (PaginatorButton, PaginatorMenu)):

0 commit comments

Comments
 (0)