mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-20 06:20:08 +08:00
🎨 改进代码样式 (#725)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
a9bb078079
commit
598efe182c
@ -311,13 +311,13 @@ func init() {
|
|||||||
pic, err := engine.GetLazyData(picName+".png", false)
|
pic, err := engine.GetLazyData(picName+".png", false)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logrus.Warnln("[mcfish]error:", err)
|
logrus.Warnln("[mcfish]error:", err)
|
||||||
ctx.SendChain(message.At(uid), message.Text("恭喜你钓到了", numberOfFish,thingName, "\n", msg))
|
ctx.SendChain(message.At(uid), message.Text("恭喜你钓到了", numberOfFish, thingName, "\n", msg))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
ctx.SendChain(message.At(uid), message.Text("恭喜你钓到了",numberOfFish, thingName, "\n", msg), message.ImageBytes(pic))
|
ctx.SendChain(message.At(uid), message.Text("恭喜你钓到了", numberOfFish, thingName, "\n", msg), message.ImageBytes(pic))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
ctx.SendChain(message.At(uid), message.Text("恭喜你钓到了",numberOfFish, thingName, "\n", msg))
|
ctx.SendChain(message.At(uid), message.Text("恭喜你钓到了", numberOfFish, thingName, "\n", msg))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
msgInfo := make(message.Message, 0, 3+len(thingNameList))
|
msgInfo := make(message.Message, 0, 3+len(thingNameList))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user