Browse Source

Fix Message.edit ignoring suppress kwarg

pull/7631/head
Eric Schneider 3 years ago
committed by GitHub
parent
commit
ef92170a9d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      discord/message.py

1
discord/message.py

@ -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…
Cancel
Save