Skip to content

Commit 407f284

Browse files
committed
fix: adapt to new convention
1 parent d2654a3 commit 407f284

File tree

6 files changed

+7
-87
lines changed

6 files changed

+7
-87
lines changed

README-Edit.md

Lines changed: 0 additions & 80 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
## 完善教程
2020
目前开发教程还不是很全面,欢迎大家编辑此README完善它,让更多人轻松加入zbp大家庭!
2121

22-
目前提供的样板有 example 中的
22+
目前提供的教程有
2323

24-
- [江林版本](example/JiangRed/message.go)
25-
- [小锅饭版本](example/xiaoguofan/example.go)
24+
- [江林版本](plugin/exJiangRed/message.go)
25+
- [小锅饭版本](plugin/exXiaoGuoFan/example.go)
2626
- [小锅饭的ZerobotCourse](https://github.com/guohuiyuan/ZerobotCourse)
2727
- [夹子的版本(半成品)](doc)

doc/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@
3939
## 引用
4040

4141
- [ZerobotCourse](https://github.com/guohuiyuan/ZerobotCourse)
42-
- [example/JiangRed](example/JiangRed/message.go)
42+
- [plugin/exJiangRed](plugin/exJiangRed/message.go)
4343
- [khl.py](https://github.com/TWT233/khl.py)

main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ import (
1919

2020
_ "github.com/FloatTech/ZeroBot-Plugin-Playground/abineundo" // 设置插件优先级&更改控制台属性
2121

22-
_ "github.com/FloatTech/ZeroBot-Plugin-Playground/example/JiangRed"
23-
_ "github.com/FloatTech/ZeroBot-Plugin-Playground/example/xiaoguofan"
2422
_ "github.com/FloatTech/ZeroBot-Plugin-Playground/plugin/anotherfortune"
2523
_ "github.com/FloatTech/ZeroBot-Plugin-Playground/plugin/chatgpt"
2624
_ "github.com/FloatTech/ZeroBot-Plugin-Playground/plugin/chinesebqb"
2725
_ "github.com/FloatTech/ZeroBot-Plugin-Playground/plugin/cybercat"
2826
_ "github.com/FloatTech/ZeroBot-Plugin-Playground/plugin/draw" // 服务详情
27+
_ "github.com/FloatTech/ZeroBot-Plugin-Playground/plugin/exJiangRed"
28+
_ "github.com/FloatTech/ZeroBot-Plugin-Playground/plugin/exxiaoguofan"
2929
_ "github.com/FloatTech/ZeroBot-Plugin-Playground/plugin/fadian"
3030
_ "github.com/FloatTech/ZeroBot-Plugin-Playground/plugin/fgopickup"
3131
_ "github.com/FloatTech/ZeroBot-Plugin-Playground/plugin/fyzhq"
@@ -61,7 +61,7 @@ var config zbpcfg
6161

6262
func init() {
6363
sus := make([]int64, 0, 16)
64-
// 解析命令行参数hahahah
64+
// 解析命令行参数
6565
d := flag.Bool("d", false, "Enable debug level log and higher.")
6666
w := flag.Bool("w", false, "Enable warning level log and higher.")
6767
h := flag.Bool("h", false, "Display this help.")

0 commit comments

Comments
 (0)