Skip to content

Commit

Permalink
docs: clarify Member.current_timeout expiry
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftinv committed Jun 22, 2023
1 parent 31abebe commit a193421
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion disnake/member.py
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,9 @@ def voice(self) -> Optional[VoiceState]:

@property
def current_timeout(self) -> Optional[datetime.datetime]:
"""Optional[:class:`datetime.datetime`]: Returns the datetime when the timeout expires, if any.
"""Optional[:class:`datetime.datetime`]: Returns the datetime when the timeout expires.
If the member is not timed out or the timeout has already expired, returns ``None``.
.. versionadded:: 2.3
"""
Expand Down

0 comments on commit a193421

Please sign in to comment.