Skip to content

Commit

Permalink
Update discord/ui/view.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorukyum authored Jun 28, 2022
1 parent 855c827 commit 8fd6c85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord/ui/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def __init__(self, *items: Item, timeout: Optional[float] = 180.0):
self.__timeout_expiry: Optional[float] = None
self.__timeout_task: Optional[asyncio.Task[None]] = None
self.__stopped: asyncio.Future[bool] = loop.create_future()
self._message: Message | None = None
self._message: Optional[Message] = None

def __repr__(self) -> str:
return f"<{self.__class__.__name__} timeout={self.timeout} children={len(self.children)}>"
Expand Down

0 comments on commit 8fd6c85

Please sign in to comment.