From 08d632880a8e50851452f019ef2eb665c49e0826 Mon Sep 17 00:00:00 2001 From: Lilly Rose Berner Date: Wed, 9 Dec 2020 02:42:26 +0100 Subject: [PATCH] Fix embed suppression when using client-wide allowed_mentions --- discord/message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/message.py b/discord/message.py index fb033965c..e6227cc91 100644 --- a/discord/message.py +++ b/discord/message.py @@ -1019,7 +1019,7 @@ class Message(Hashable): else: allowed_mentions = {'replied_user': mention_author} fields['allowed_mentions'] = allowed_mentions - elif self._state.allowed_mentions is not None: + elif self._state.allowed_mentions is not None and self._state.self_id == self.author.id: fields['allowed_mentions'] = self._state.allowed_mentions.to_dict() if fields: