Fix all deprecation warnings for 3.8

This commit is contained in:
Rapptz committed 2019-11-20 02:30:19 -05:00
1 parent 924398c1ac
commit a6f61dcbde
9 files changed
+43 -43

No files matched your search

+1 -1
View File
@@ -707,7 +707,7 @@ class Message:
"""
if delay is not None:
async def delete():
await asyncio.sleep(delay, loop=self._state.loop)
await asyncio.sleep(delay)
try:
await self._state.http.delete_message(self.channel.id, self.id)
except HTTPException: