feat: add plugin emozi & remove vitsnyaru

This commit is contained in:
源文雨
2024-10-13 18:09:07 +09:00
parent 6a038643d6
commit baf1a80dc2
8 changed files with 141 additions and 190 deletions

View File

@@ -28,12 +28,12 @@ func init() {
getImg := fcext.DoOnceOnSuccess(func(ctx *zero.Ctx) bool {
data, err := engine.GetLazyData("imgdata.json", true)
if err != nil {
ctx.SendChain(message.Text("ERROR:", err))
ctx.SendChain(message.Text("ERROR: ", err))
return false
}
err = json.Unmarshal(data, &cardImgPathList)
if err != nil {
ctx.SendChain(message.Text("ERROR:", err))
ctx.SendChain(message.Text("ERROR: ", err))
return false
}
return true