Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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 @@ -26,6 +26,8 @@ These changes are available on the `master` branch, but have not yet been releas
([#2808](https://github.com/Pycord-Development/pycord/pull/2808))
- Unbound `raw` reference in `parse_message_update` causing errors on message updates.
([#2905](https://github.com/Pycord-Development/pycord/pull/2905))
- `View=None` in `Webhook.send` causing an AttributeError.
([#2915](https://github.com/Pycord-Development/pycord/pull/2915))

### Removed

Expand Down
2 changes: 1 addition & 1 deletion discord/webhook/async_.py
Original file line number Diff line number Diff line change
Expand Up @@ -1864,7 +1864,7 @@ async def send(
if wait:
msg = self._create_message(data)

if view is not MISSING and not view.is_finished():
if view and not view.is_finished():
message_id = None if msg is None else msg.id
view.message = None if msg is None else msg
if msg:
Expand Down
Loading