add rough guild support

This commit is contained in:
fumiama
2022-01-17 23:04:32 +08:00
parent 461dc925af
commit 8256658ac2
14 changed files with 33 additions and 35 deletions

View File

@@ -58,7 +58,7 @@ func handle(ctx *zero.Ctx) {
if err != nil {
log.Errorln("[shindan]:", err)
}
if id := ctx.SendChain(message.Image("base64://" + helper.BytesToString(data))); id == 0 {
if id := ctx.SendChain(message.Image("base64://" + helper.BytesToString(data))); id.ID() == 0 {
ctx.SendChain(message.Text("ERROR: 可能被风控了"))
}
default: