mirror of
https://github.com/Paillat-dev/pycord-rest.git
synced 2026-01-02 00:56:19 +00:00
🐛 Update private attribute access in view handling logic
This commit is contained in:
@@ -91,7 +91,7 @@ class App(discord.Bot):
|
|||||||
item.refresh_state(interaction)
|
item.refresh_state(interaction)
|
||||||
|
|
||||||
# Code taken from View._dispatch_item
|
# Code taken from View._dispatch_item
|
||||||
if view._View__stopped.done(): # noqa: SLF001 # pyright: ignore [reportAttributeAccessIssue, reportUnknownMemberType]
|
if view._stopped.done(): # noqa: SLF001 # pyright: ignore [reportPrivateUsage]
|
||||||
return
|
return
|
||||||
|
|
||||||
if interaction.message:
|
if interaction.message:
|
||||||
|
|||||||
Reference in New Issue
Block a user