diff options
| author | Rapptz <[email protected]> | 2016-06-18 01:43:57 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-06-18 01:43:57 -0400 |
| commit | 4d375fc856af6720dcf46250bc459c5f72c08d4d (patch) | |
| tree | ee7e97ec94fdbf4aee2c851c2de553309e68804b /discord/http.py | |
| parent | Add Member.top_role property to get the highest role. (diff) | |
| download | discord.py-4d375fc856af6720dcf46250bc459c5f72c08d4d.tar.xz discord.py-4d375fc856af6720dcf46250bc459c5f72c08d4d.zip | |
Fix HTTPClient.recreate to actually work.
Forgot a keyword argument.
Diffstat (limited to 'discord/http.py')
| -rw-r--r-- | discord/http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/http.py b/discord/http.py index 0ff3dbfc..ba531a91 100644 --- a/discord/http.py +++ b/discord/http.py @@ -161,7 +161,7 @@ class HTTPClient: yield from self.session.close() def recreate(self): - self.session = aiohttp.ClientSession(self.connector, loop=self.loop) + self.session = aiohttp.ClientSession(connector=self.connector, loop=self.loop) def _token(self, token, *, bot=True): self.token = token |