1 Commits

Author SHA1 Message Date
Paillat
3a111fc998 🐛 Update private attribute access in view handling logic (#52) 2025-12-10 19:48:43 +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: