mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-06 15:20:22 +00:00
✨ 插件名称自动注册
This commit is contained in:
@@ -22,7 +22,7 @@ type tiangou struct {
|
||||
var db = &sql.Sqlite{}
|
||||
|
||||
func init() {
|
||||
en := control.Register("tiangou", &ctrl.Options[*zero.Ctx]{
|
||||
en := control.AutoRegister(&ctrl.Options[*zero.Ctx]{
|
||||
DisableOnDefault: false,
|
||||
Brief: "舔狗日记",
|
||||
Help: "- 舔狗日记",
|
||||
|
||||
Reference in New Issue
Block a user