diff --git a/discord/ui/view.py b/discord/ui/view.py index 558068307..13016a8e0 100644 --- a/discord/ui/view.py +++ b/discord/ui/view.py @@ -335,6 +335,10 @@ class View: if self._cancel_callback: self._cancel_callback(self) + def is_finished(self) -> bool: + """:class:`bool`: Whether the view has finished interacting.""" + return self._stopped.done() + async def wait(self) -> bool: """Waits until the view has finished interacting.