Browse Source

Invert View.is_finished condition when there is no associated Future

pull/10392/head
Rapptz 4 months ago
parent
commit
3ab09be13c
  1. 2
      discord/ui/view.py

2
discord/ui/view.py

@ -622,7 +622,7 @@ class BaseView:
def is_finished(self) -> bool:
""":class:`bool`: Whether the view has finished interacting."""
if self.__stopped is None:
return True
return False
return self.__stopped.done()

Loading…
Cancel
Save