mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 22:00:11 +08:00
💩👌 make lint happy
This commit is contained in:
parent
5ce44fb161
commit
a7387dcf22
@ -61,7 +61,7 @@ func (db *婚姻登记) 登记情况(gid int64, ctx *zero.Ctx) string {
|
|||||||
w.WriteString("群老公←———→群老婆\n-----------")
|
w.WriteString("群老公←———→群老婆\n-----------")
|
||||||
for husband, wife := range mp {
|
for husband, wife := range mp {
|
||||||
if husband > 0 {
|
if husband > 0 {
|
||||||
w.WriteByte('\n')
|
_ = w.WriteByte('\n')
|
||||||
w.WriteString(ctx.CardOrNickName(husband))
|
w.WriteString(ctx.CardOrNickName(husband))
|
||||||
w.WriteString(" & ")
|
w.WriteString(" & ")
|
||||||
w.WriteString(ctx.CardOrNickName(wife))
|
w.WriteString(ctx.CardOrNickName(wife))
|
||||||
|
|||||||
@ -129,7 +129,7 @@ func init() { // 插件主体
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
resp, err := http.Head(result.Header.Thumbnail)
|
resp, err := http.Head(result.Header.Thumbnail)
|
||||||
var msg message.Message = make(message.Message, 0, 3)
|
msg := make(message.Message, 0, 3)
|
||||||
if s > 0.8 {
|
if s > 0.8 {
|
||||||
msg = append(msg, message.Text("我有把握是这个!"))
|
msg = append(msg, message.Text("我有把握是这个!"))
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user