diff --git a/discord/message.py b/discord/message.py index 0bc9b6296..12783ea9a 100644 --- a/discord/message.py +++ b/discord/message.py @@ -1312,7 +1312,11 @@ class Message(Hashable): The newly edited message. """ - previous_allowed_mentions = self._state.allowed_mentions + if content is not MISSING: + previous_allowed_mentions = self._state.allowed_mentions + else: + previous_allowed_mentions = None + if suppress is not MISSING: flags = MessageFlags._from_value(self.flags.value) flags.suppress_embeds = suppress