Browse Source

Add missing coroutine header for sleep_until

pull/2520/head
Rapptz 5 years ago
parent
commit
706a333287
  1. 4
      discord/utils.py

4
discord/utils.py

@ -340,7 +340,9 @@ async def sane_wait_for(futures, *, timeout):
return done return done
async def sleep_until(when, result=None): 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. If the time supplied is in the past this function will yield instantly.

Loading…
Cancel
Save