diff options
| author | Rapptz <[email protected]> | 2019-11-20 02:30:19 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-11-20 02:30:19 -0500 |
| commit | a6f61dcbdecb4badb47040925f29f157da47bf95 (patch) | |
| tree | eb69d643e9b7e57c76d409cc8b5893bb547cf3bb /discord/message.py | |
| parent | Trailing whitespace in documentation. (diff) | |
| download | discord.py-a6f61dcbdecb4badb47040925f29f157da47bf95.tar.xz discord.py-a6f61dcbdecb4badb47040925f29f157da47bf95.zip | |
Fix all deprecation warnings for 3.8
Diffstat (limited to 'discord/message.py')
| -rw-r--r-- | discord/message.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/message.py b/discord/message.py index 3b7962dc..71b82fd4 100644 --- a/discord/message.py +++ b/discord/message.py @@ -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: |