mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
Document that sleep_until considers naive datetimes as UTC.
This commit is contained in:
parent
1ee1b7feea
commit
cbdf660ddc
@ -351,7 +351,8 @@ async def sleep_until(when, result=None):
|
||||
Parameters
|
||||
-----------
|
||||
when: :class:`datetime.datetime`
|
||||
The timestamp in which to sleep until.
|
||||
The timestamp in which to sleep until. If the datetime is naive then
|
||||
it is assumed to be in UTC.
|
||||
result: Any
|
||||
If provided is returned to the caller when the coroutine completes.
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user