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