Skip to content

Commit 45c0f8b

Browse files
authored
Merge branch 'master' into channel
Signed-off-by: Lumouille <[email protected]>
2 parents 691a27c + ca62594 commit 45c0f8b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,12 @@ These changes are available on the `master` branch, but have not yet been releas
103103
([#2739](https://github.com/Pycord-Development/pycord/pull/2739))
104104
- Fixed missing `None` type hints in `Select.__init__`.
105105
([#2746])(https://github.com/Pycord-Development/pycord/pull/2746)
106-
- Updated `valid_locales` to support `in` and `es-419`.
107-
([#2767])(https://github.com/Pycord-Development/pycord/pull/2767)
108106
- Fixed parameters for channels And allow creating channels with None as default
109107
reaction ([#2754])(https://github.com/Pycord-Development/pycord/pull/2754)
108+
- Updated `valid_locales` to support `in` and `es-419`.
109+
([#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)