From 3a111fc99885409ed350c569f276de7aa1a63f7b Mon Sep 17 00:00:00 2001 From: Paillat Date: Wed, 10 Dec 2025 19:48:43 +0100 Subject: [PATCH] :bug: Update private attribute access in view handling logic (#52) --- src/pycord_rest/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pycord_rest/app.py b/src/pycord_rest/app.py index d11700f..3f2c8a0 100644 --- a/src/pycord_rest/app.py +++ b/src/pycord_rest/app.py @@ -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: