mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-18 23:15:48 +00:00
Bump aiohttp requirement and fix AsyncWebhookAdapter
This commit is contained in:
parent
4ebe02ab1f
commit
e2478b17c9
@ -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 = {}
|
||||
|
@ -1,2 +1,2 @@
|
||||
aiohttp>=3.3.0,<3.5.0
|
||||
aiohttp>=3.3.0,<3.6.0
|
||||
websockets>=6.0,<7.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user