1 Commits

Author SHA1 Message Date
333bc264d1 🐛 Update private attribute access in view handling logic 2025-12-10 19:46:47 +01:00

View File

@@ -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: