server启动之后,填入callback

This commit is contained in:
liuwei
2025-04-23 11:50:57 +08:00
parent 1a4d40174e
commit 990171b38a
3 changed files with 8 additions and 16 deletions

View File

@@ -52,7 +52,10 @@ def main(chat_type: int):
#
# # 秀人网每天自动发pdf
# robot.onEveryTime("17:30", robot.xiu_ren_pdf_send)
time.sleep(5)
# 启动之后填入callback
gewe_client.client_set_callback()
# 返回启动的端口,以便调用者知道实际使用的端口
# 启动Dashboard服务器
dashboard_server = None
try: