Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ These changes are available on the `master` branch, but have not yet been releas
([#2746])(https://github.com/Pycord-Development/pycord/pull/2746)
- Updated `valid_locales` to support `in` and `es-419`.
([#2767])(https://github.com/Pycord-Development/pycord/pull/2767)
- Fixed `Webhook.edit` not working with `attachments=[]`.
([#2779])(https://github.com/Pycord-Development/pycord/pull/2779)

### Changed

Expand Down
2 changes: 1 addition & 1 deletion discord/webhook/async_.py
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ def handle_message_parameters(
if voice_message:
flags = flags + MessageFlags(is_voice_message=True)

if _attachments:
if attachments is not MISSING or _attachments:
payload["attachments"] = _attachments

payload["flags"] = flags.value
Expand Down
Loading