From fb1fbbb46a1c3de203dbe33761f97526537453a8 Mon Sep 17 00:00:00 2001 From: sudoskys Date: Thu, 18 Aug 2022 19:45:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=A2=9E=E5=8A=A0av=E5=8F=B7=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E5=92=8C=E7=B2=BE=E5=87=86=E6=88=AA=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 16 ++++++++-------- config_exp.yaml | 2 +- main.py | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index c50604d..7972f0f 100644 --- a/README.md +++ b/README.md @@ -249,20 +249,20 @@ kill -9 进程号 ├── config_exp.yaml # 示例文件 ├── cron.sh # cron用 ├── data # 数据目录,智能生成 -│   ├── history.yaml -│   └── RssData.json +│ ├── history.yaml +│ └── RssData.json ├── docs # 文档,如何加密 -│   └── newToken.md +│ └── newToken.md ├── LICENSE ├── main.py # 运行文件 ├── README.md # 自述文件 ├── requirements.txt # 依赖说明 ├── Runner # 运行库 -│   ├── DataParse.py -│   ├── EventLib.py -│   ├── Network -│   ├── __pycache__ -│   └── Task.py +│ ├── DataParse.py +│ ├── EventLib.py +│ ├── Network +│ ├── __pycache__ +│ └── Task.py └── setup.sh # 服务器用 diff --git a/config_exp.yaml b/config_exp.yaml index 55a71e1..81a79b2 100644 --- a/config_exp.yaml +++ b/config_exp.yaml @@ -1,5 +1,5 @@ Lock: False -Version: "2.0.4" +Version: "2.0.5" channalId: -1001741448769 desc: 'music from @bilxxxot' botToken: '571xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx5sYu8ZI' diff --git a/main.py b/main.py index c678383..1a2bbf6 100644 --- a/main.py +++ b/main.py @@ -27,9 +27,9 @@ # 初始化 Check().run() -Tool().console.print("完成初始化", style='blue') config = Read(str(Path.cwd()) + "/config.yaml").get(args) - +if config.Version: + Tool().console.print("完成初始化:" + config.Version, style='blue') # 注册机器人 pushService = Robot(config.botToken)