From 44e091752b048b24c1d9e671603eb4ac233b0cc5 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Thu, 20 Jul 2023 22:29:16 +0800 Subject: [PATCH] fix: misskey websocket url --- misskey_init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misskey_init.py b/misskey_init.py index f182a71..de35bc6 100644 --- a/misskey_init.py +++ b/misskey_init.py @@ -94,7 +94,7 @@ async def run(user: User): misskey = await create_or_get_misskey_bot(user) try: logs.info(f"尝试启动 Misskey Bot WS 任务 {user.user_id}") - await misskey.start(f"wss://{user.host}", user.token) + await misskey.start(f"wss://{user.host}/streaming", user.token) except ClientConnectorError: await sleep(3) await run(user)