mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-01-30 13:01:46 +00:00
Invert View.is_finished condition when there is no associated Future
This commit is contained in:
@@ -622,7 +622,7 @@ class BaseView:
|
|||||||
def is_finished(self) -> bool:
|
def is_finished(self) -> bool:
|
||||||
""":class:`bool`: Whether the view has finished interacting."""
|
""":class:`bool`: Whether the view has finished interacting."""
|
||||||
if self.__stopped is None:
|
if self.__stopped is None:
|
||||||
return True
|
return False
|
||||||
|
|
||||||
return self.__stopped.done()
|
return self.__stopped.done()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user