mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-01-30 21:11:44 +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:
|
||||
""":class:`bool`: Whether the view has finished interacting."""
|
||||
if self.__stopped is None:
|
||||
return True
|
||||
return False
|
||||
|
||||
return self.__stopped.done()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user