mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Fix all deprecation warnings for 3.8
This commit is contained in:
1 parent
924398c1ac
commit
a6f61dcbde
9 files changed
+43
-43
No files matched your search
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user