mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Fix Message.edit ignoring suppress kwarg
This commit is contained in:
parent
0ea6fdac5a
commit
ef92170a9d
@ -1306,6 +1306,7 @@ class Message(Hashable):
|
||||
previous_allowed_mentions = self._state.allowed_mentions
|
||||
if suppress is not MISSING:
|
||||
flags = MessageFlags._from_value(self.flags.value)
|
||||
flags.suppress_embeds = suppress
|
||||
else:
|
||||
flags = MISSING
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user