Change.
This commit is contained in:
parent
f517add468
commit
5d6a86f8b2
@ -95,7 +95,7 @@ class Bot:
|
|||||||
async def run_once(self):
|
async def run_once(self):
|
||||||
async with aiohttp.ClientSession() as session:
|
async with aiohttp.ClientSession() as session:
|
||||||
async with session.ws_connect(self.url) as ws:
|
async with session.ws_connect(self.url) as ws:
|
||||||
if is_initial = not self.ws
|
is_initial = not self.ws
|
||||||
|
|
||||||
self.ws = ws
|
self.ws = ws
|
||||||
rpc = RPC(self.ws)
|
rpc = RPC(self.ws)
|
||||||
|
Loading…
Reference in New Issue
Block a user