aboutsummaryrefslogtreecommitdiff
path: root/discord/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/utils.py')
-rw-r--r--discord/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/utils.py b/discord/utils.py
index dd816e69..46f35bdb 100644
--- a/discord/utils.py
+++ b/discord/utils.py
@@ -346,14 +346,14 @@ async def sleep_until(when, result=None):
If the time supplied is in the past this function will yield instantly.
+ .. versionadded:: 1.3
+
Parameters
-----------
when: :class:`datetime.datetime`
The timestamp in which to sleep until.
result: Any
If provided is returned to the caller when the coroutine completes.
-
- .. versionadded:: 1.3
"""
if when.tzinfo is None:
when = when.replace(tzinfo=datetime.timezone.utc)