diff --git a/CHANGELOG.md b/CHANGELOG.md index 0219ed388c..2225c67d10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 various methods causing an AttributeError. + ([#2915](https://github.com/Pycord-Development/pycord/pull/2915)) ### Removed diff --git a/discord/webhook/async_.py b/discord/webhook/async_.py index 2e8d7432cc..aec9115d5f 100644 --- a/discord/webhook/async_.py +++ b/discord/webhook/async_.py @@ -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: