From 333bc264d17bef7b3c0712e51796f350e2d30b1c Mon Sep 17 00:00:00 2001 From: Paillat-dev Date: Wed, 10 Dec 2025 19:46:47 +0100 Subject: [PATCH] :bug: Update private attribute access in view handling logic --- 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: