mirror of
https://github.com/RockChinQ/QChatGPT.git
synced 2024-11-16 03:32:33 +08:00
perf: 启动时提示
This commit is contained in:
parent
61cd2bfff3
commit
f10c931c09
|
@ -8,6 +8,8 @@ import logging
|
|||
# port: 运行mirai的主机端口
|
||||
# verifyKey: mirai-api-http的verifyKey
|
||||
# qq: 机器人的QQ号
|
||||
#
|
||||
# 注意: QQ机器人配置不支持热重载及热更新
|
||||
mirai_http_api_config = {
|
||||
"adapter": "WebSocketAdapter",
|
||||
"host": "localhost",
|
||||
|
|
3
main.py
3
main.py
|
@ -81,7 +81,8 @@ def main(first_time_init=False):
|
|||
qq_bot_thread = threading.Thread(target=qqbot.bot.run, args=(), daemon=True)
|
||||
qq_bot_thread.start()
|
||||
|
||||
logging.info('程序启动完成')
|
||||
time.sleep(2)
|
||||
logging.info('程序启动完成,如长时间未显示 ”成功登录到账号xxxxx“ ,并且不回复消息,请查看 https://github.com/RockChinQ/QChatGPT/issues/37')
|
||||
|
||||
while True:
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue
Block a user