mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-22 02:37:57 -05:00
Update d.py to 1.6.0, aiohttp to 3.7.3, Red-Lavalink to 0.7.2 (#4728)
* Bump d.py, aiohttp, Red-Lavalink * Remove deprecation warnings that are no longer relevant * Max concurrency things in `Command.prepare()` * Two random things that date back to times older than d.py 1.1...
This commit is contained in:
@@ -188,7 +188,7 @@ class Context(DPYContext):
|
||||
else:
|
||||
try:
|
||||
await self.channel.delete_messages((query, resp))
|
||||
except (discord.HTTPException, AttributeError):
|
||||
except discord.HTTPException:
|
||||
# In case the bot can't delete other users' messages,
|
||||
# or is not a bot account
|
||||
# or channel is a DM
|
||||
|
||||
Reference in New Issue
Block a user