mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-06 15:20:22 +00:00
chore(lint): 改进代码样式 (#982)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
6f7d4beb17
commit
54471d16e4
@@ -320,7 +320,6 @@ func init() {
|
||||
}
|
||||
// 添加数据进入表
|
||||
if err := db.insertNiuNiu(&u, gid); err != nil {
|
||||
|
||||
if err = db.createGIDTable(gid); err != nil {
|
||||
ctx.SendChain(message.Text("ERROR:", err))
|
||||
return
|
||||
@@ -330,7 +329,6 @@ func init() {
|
||||
ctx.SendChain(message.Text("ERROR:", err))
|
||||
return
|
||||
}
|
||||
|
||||
}
|
||||
ctx.SendChain(message.At(uid),
|
||||
message.Text("注册成功,你的牛牛现在有", u.Length, "cm"))
|
||||
@@ -433,7 +431,6 @@ func init() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
})
|
||||
en.OnFullMatch("注销牛牛", getdb, zero.OnlyGroup).SetBlock(true).Handle(func(ctx *zero.Ctx) {
|
||||
uid := ctx.Event.UserID
|
||||
|
||||
Reference in New Issue
Block a user