Skip to content

Commit 37d4901

Browse files
authored
fix webhook/interaction editing with attachments param
1 parent c0c0b7c commit 37d4901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/webhook/async_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ def handle_message_parameters(
712712
if voice_message:
713713
flags = flags + MessageFlags(is_voice_message=True)
714714

715-
if _attachments:
715+
if attachments is not MISSING or _attachments:
716716
payload["attachments"] = _attachments
717717

718718
payload["flags"] = flags.value

0 commit comments

Comments
 (0)