mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-10 15:59:50 +00:00
parent
ef9bb79e91
commit
f6fcffbab5
@ -1052,7 +1052,8 @@ class Message(Hashable):
|
|||||||
try:
|
try:
|
||||||
allowed_mentions = fields.pop('allowed_mentions')
|
allowed_mentions = fields.pop('allowed_mentions')
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
if self._state.allowed_mentions is not None:
|
||||||
|
fields['allowed_mentions'] = self._state.allowed_mentions.to_dict()
|
||||||
else:
|
else:
|
||||||
if allowed_mentions is not None:
|
if allowed_mentions is not None:
|
||||||
if self._state.allowed_mentions is not None:
|
if self._state.allowed_mentions is not None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user