mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
Fix embed suppression when using client-wide allowed_mentions
This commit is contained in:
parent
0995d07727
commit
08d632880a
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user