shorten the if statement
This commit is contained in:
@@ -1152,9 +1152,7 @@ class Message(Hashable):
|
|||||||
try:
|
try:
|
||||||
await self._state.http.delete_message(self.channel.id, self.id)
|
await self._state.http.delete_message(self.channel.id, self.id)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
if silent:
|
if not silent:
|
||||||
pass
|
|
||||||
else:
|
|
||||||
raise e
|
raise e
|
||||||
|
|
||||||
@overload
|
@overload
|
||||||
|
|||||||
Reference in New Issue
Block a user