mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-22 19:06:44 +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
|
previous_allowed_mentions = self._state.allowed_mentions
|
||||||
if suppress is not MISSING:
|
if suppress is not MISSING:
|
||||||
flags = MessageFlags._from_value(self.flags.value)
|
flags = MessageFlags._from_value(self.flags.value)
|
||||||
|
flags.suppress_embeds = suppress
|
||||||
else:
|
else:
|
||||||
flags = MISSING
|
flags = MISSING
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user