mirror of
https://github.com/Paillat-dev/pycord-rest.git
synced 2026-01-01 16:46:20 +00:00
🐛 Update private attribute access in view handling logic (#52)
This commit is contained in:
@@ -91,7 +91,7 @@ class App(discord.Bot):
|
||||
item.refresh_state(interaction)
|
||||
|
||||
# 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
|
||||
|
||||
if interaction.message:
|
||||
|
||||
Reference in New Issue
Block a user