From 706a33328714efa12d07260ad0e321605e573882 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Tue, 21 Jan 2020 20:39:15 -0500 Subject: [PATCH] Add missing coroutine header for sleep_until --- discord/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/discord/utils.py b/discord/utils.py index f9fc20ac0..dd816e691 100644 --- a/discord/utils.py +++ b/discord/utils.py @@ -340,7 +340,9 @@ async def sane_wait_for(futures, *, timeout): return done async def sleep_until(when, result=None): - """Sleep until a specified time. + """|coro| + + Sleep until a specified time. If the time supplied is in the past this function will yield instantly.