diff --git a/discord/poll.py b/discord/poll.py index fae4aa88491a..8b0dd548f9d3 100644 --- a/discord/poll.py +++ b/discord/poll.py @@ -225,6 +225,8 @@ def victor(self) -> bool: """:class:`bool`: Whether the answer is the one that had the most votes when the poll ended. + .. versionadded:: 2.5 + .. note:: If the poll has not ended, this will always return ``False``. @@ -487,11 +489,11 @@ def answers(self) -> List[PollAnswer]: def victor_answer_id(self) -> Optional[int]: """Optional[:class:`int`]: The victor answer ID. + .. versionadded:: 2.5 + .. note:: This will **always** be ``None`` for polls that have not yet finished. - - .. versionadded:: 2.5 """ return self._victor_answer_id @@ -499,11 +501,11 @@ def victor_answer_id(self) -> Optional[int]: def victor_answer(self) -> Optional[PollAnswer]: """Optional[:class:`PollAnswer`]: The victor answer. + .. versionadded:: 2.5 + .. note:: This will **always** be ``None`` for polls that have not yet finished. - - .. versionadded:: 2.5 """ if self.victor_answer_id is None: return None