mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-24 18:13:00 +00:00
Add missing coroutine header for sleep_until
This commit is contained in:
@@ -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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user