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)