This commit is contained in:
retoor 2025-05-03 17:19:13 +02:00
parent f517add468
commit 5d6a86f8b2

View File

@ -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)