diff options
Diffstat (limited to 'discord')
| -rw-r--r-- | discord/webhook.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/webhook.py b/discord/webhook.py index 68dd6531..ecd35edd 100644 --- a/discord/webhook.py +++ b/discord/webhook.py @@ -141,7 +141,7 @@ class AsyncWebhookAdapter(WebhookAdapter): def __init__(self, session): self.session = session - self.loop = session.loop + self.loop = asyncio.get_event_loop() async def request(self, verb, url, payload=None, multipart=None): headers = {} |