Browse Source

Merge c5a94f2d2c into 2fbed93624

pull/10427/merge
Soheab 3 weeks ago
committed by GitHub
parent
commit
d1cbaff55f
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      discord/webhook/async_.py

3
discord/webhook/async_.py

@ -1322,6 +1322,9 @@ class Webhook(BaseWebhook):
state = None
if client is not MISSING:
if client._ready is MISSING:
raise ValueError('Client must be logged in to use from_url with a client.')
state = client._connection
if session is MISSING:
session = client.http._HTTPClient__session # type: ignore

Loading…
Cancel
Save