Fixed the work of the websocket
This commit is contained in:
1
run.py
1
run.py
@@ -31,7 +31,6 @@ async def main():
|
||||
dp = Dispatcher(storage=storage)
|
||||
dp.include_router(router)
|
||||
web_socket = WebSocketBot(telegram_bot=bot)
|
||||
await web_socket.clear_user_sockets()
|
||||
ws_task = asyncio.create_task(web_socket.run_user_check_loop())
|
||||
tg_task = asyncio.create_task(dp.start_polling(bot))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user