mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 13:59:39 +08:00
Merge branch 'master' of https://github.com/FloatTech/ZeroBot-Plugin
This commit is contained in:
commit
575d158d5a
@ -157,7 +157,6 @@ func init() {
|
||||
if !find {
|
||||
msgs += "无"
|
||||
}
|
||||
|
||||
} else {
|
||||
// 生成配置文本
|
||||
msgs = fmt.Sprintf("本群配置:\n"+
|
||||
@ -324,7 +323,6 @@ func init() {
|
||||
}
|
||||
group := getGroup(ctx.Event.GroupID)
|
||||
ctx.SendChain(buildResp(bdres, group)...)
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@ -431,7 +431,6 @@ func (sql *婚姻登记) 清理花名册(gid ...string) error {
|
||||
for _, listName := range grouplist {
|
||||
if listName == "favorability" {
|
||||
continue
|
||||
|
||||
}
|
||||
err = sql.db.Drop(listName)
|
||||
}
|
||||
|
||||
@ -3,13 +3,14 @@ package quan
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strconv"
|
||||
|
||||
"github.com/FloatTech/floatbox/web"
|
||||
ctrl "github.com/FloatTech/zbpctrl"
|
||||
"github.com/FloatTech/zbputils/control"
|
||||
zero "github.com/wdvxdr1123/ZeroBot"
|
||||
"github.com/wdvxdr1123/ZeroBot/message"
|
||||
"github.com/wdvxdr1123/ZeroBot/utils/helper"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
const (
|
||||
@ -36,5 +37,4 @@ func init() { // 主函数
|
||||
}
|
||||
ctx.SendChain(message.Text(str, helper.BytesToString(es))) // 输出结果
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
@ -4,13 +4,14 @@ package wenben
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/FloatTech/floatbox/web"
|
||||
ctrl "github.com/FloatTech/zbpctrl"
|
||||
"github.com/FloatTech/zbputils/control"
|
||||
zero "github.com/wdvxdr1123/ZeroBot"
|
||||
"github.com/wdvxdr1123/ZeroBot/message"
|
||||
"github.com/wdvxdr1123/ZeroBot/utils/helper"
|
||||
"strings"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user