aboutsummaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
authorBryan Forbes <[email protected]>2019-02-11 14:47:36 -0600
committerBryan Forbes <[email protected]>2019-02-12 18:55:19 -0600
commite2478b17c998bb56fd96e183ddac053ba66363ae (patch)
treee8d588d082f6fedee54811d9fdae7186448cf471 /discord
parentFix documentation typo in CategoryChannel (diff)
downloaddiscord.py-e2478b17c998bb56fd96e183ddac053ba66363ae.tar.xz
discord.py-e2478b17c998bb56fd96e183ddac053ba66363ae.zip
Bump aiohttp requirement and fix AsyncWebhookAdapter
Diffstat (limited to 'discord')
-rw-r--r--discord/webhook.py2
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 = {}