Skip to content

Commit d5db6f6

Browse files
authored
Merge branch 'master' into feat/mssage-update-parse-message
2 parents 96e3f3d + ca62594 commit d5db6f6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ These changes are available on the `master` branch, but have not yet been releas
107107
([#2746])(https://github.com/Pycord-Development/pycord/pull/2746)
108108
- Updated `valid_locales` to support `in` and `es-419`.
109109
([#2767])(https://github.com/Pycord-Development/pycord/pull/2767)
110+
- Fixed `Webhook.edit` not working with `attachments=[]`.
111+
([#2779])(https://github.com/Pycord-Development/pycord/pull/2779)
110112

111113
### Changed
112114

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)