add back the silent kwarg to message.delete #9

Merged
TheMoksej merged 6 commits from patch-1 into 2.0 2021-08-29 17:57:08 +00:00
Showing only changes of commit c6b37cce26 - Show all commits

View File

@@ -1151,9 +1151,9 @@ class Message(Hashable):
else:
try:
await self._state.http.delete_message(self.channel.id, self.id)
except Exception as e:
except Exception:
if not silent:
raise e
raise
@overload
async def edit(