Make bot library functional

This commit is contained in:
Joscha 2018-07-26 19:54:44 +00:00
parent 3eade77cf1
commit 1bb38fc836
9 changed files with 167 additions and 498 deletions

View file

@ -109,6 +109,7 @@ class Connection:
if self.cookiejar:
for set_cookie in self._ws.response_headers.get_all("Set-Cookie"):
self.cookiejar.bake(set_cookie)
self.cookiejar.save()
self._pingtask = asyncio.ensure_future(self._ping())