1
0
Fork 0
mirror of synced 2024-05-05 13:12:34 +12:00

Correct sleep

This commit is contained in:
phxntxm 2018-04-25 22:08:45 -05:00
parent e32c398290
commit 8560f29e17

View file

@ -31,7 +31,7 @@ class Spotify:
data = await response.json()
self._token = data.get("access_token")
await asyncio.wait(data.get("expires_in"))
await asyncio.sleep(data.get("expires_in", 2400))
@commands.group(invoke_without_command=True)
@commands.guild_only()