Skip to content

Commit

Permalink
chore: add more notice on mirai connecting
Browse files Browse the repository at this point in the history
  • Loading branch information
lss233 committed Mar 13, 2023
1 parent 2219486 commit d0c3ead
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ariadne_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,13 @@ async def start_background():
exit(-1)
logger.info("OpenAI 服务器登录成功")
logger.info("尝试从 Mirai 服务中读取机器人 QQ 的 session key……")
if config.mirai.reverse_ws_port:
logger.info("[提示] 当前为反向 ws 模式,请确保你的 mirai api http 设置了正确的 reverse-ws adapter 配置")
logger.info("[提示] 配置不正确会导致 Mirai 端出现错误提示。")

else:
logger.info("[提示] 当前为正向 ws + http 模式,请确保你的 mirai api http 设置了正确的 ws 和 http 配置")
logger.info("[提示] 配置不正确或 Miria 未登录 QQ 都会导致 【Websocket reconnecting...】 提示的出现。")

cmd = Commander(app.broadcast)

Expand Down

0 comments on commit d0c3ead

Please sign in to comment.