Browse Source
Fix error when sending non-interactive views via partial webhooks
master
Mohammed Aman Jukaku
23 hours ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
discord/webhook/async_.py
|
@ -1872,7 +1872,7 @@ class Webhook(BaseWebhook): |
|
|
if wait: |
|
|
if wait: |
|
|
msg = self._create_message(data, thread=thread) |
|
|
msg = self._create_message(data, thread=thread) |
|
|
|
|
|
|
|
|
if view is not MISSING and not view.is_finished(): |
|
|
if view is not MISSING and not view.is_finished() and view.is_dispatchable(): |
|
|
message_id = None if msg is None else msg.id |
|
|
message_id = None if msg is None else msg.id |
|
|
self._state.store_view(view, message_id) |
|
|
self._state.store_view(view, message_id) |
|
|
|
|
|
|
|
|