mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Add replied_user key when no allowed_mentions is passed in
This commit is contained in:
parent
07a1311bf4
commit
fa901afa3a
@ -224,7 +224,9 @@ def handle_message_parameters(
|
||||
try:
|
||||
payload['allowed_mentions']['replied_user'] = mention_author
|
||||
except KeyError:
|
||||
pass
|
||||
payload['allowed_mentions'] = {
|
||||
'replied_user': mention_author,
|
||||
}
|
||||
|
||||
if attachments is MISSING:
|
||||
attachments = files # type: ignore
|
||||
|
Loading…
x
Reference in New Issue
Block a user