fix: misskey websocket url

This commit is contained in:
xtaodada 2023-07-20 22:29:16 +08:00
parent 6dd58cb15d
commit 44e091752b
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -94,7 +94,7 @@ async def run(user: User):
misskey = await create_or_get_misskey_bot(user) misskey = await create_or_get_misskey_bot(user)
try: try:
logs.info(f"尝试启动 Misskey Bot WS 任务 {user.user_id}") 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: except ClientConnectorError:
await sleep(3) await sleep(3)
await run(user) await run(user)