🎨 改进代码样式

This commit is contained in:
github-actions[bot] 2021-12-15 14:29:05 +00:00
parent ad33c1ca3c
commit b871573dc3
2 changed files with 2 additions and 3 deletions

View File

@ -1,9 +1,10 @@
package plugin_coser package plugin_coser
import ( import (
"github.com/tidwall/gjson"
"time" "time"
"github.com/tidwall/gjson"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
zero "github.com/wdvxdr1123/ZeroBot" zero "github.com/wdvxdr1123/ZeroBot"
"github.com/wdvxdr1123/ZeroBot/extension/rate" "github.com/wdvxdr1123/ZeroBot/extension/rate"
@ -61,6 +62,5 @@ func init() {
m).Get("message_id").Int(); id == 0 { m).Get("message_id").Int(); id == 0 {
ctx.SendChain(message.Text("ERROR: 可能被风控了")) ctx.SendChain(message.Text("ERROR: 可能被风控了"))
} }
}) })
} }

View File

@ -97,7 +97,6 @@ func init() {
).Get("message_id").Int(); id == 0 { ).Get("message_id").Int(); id == 0 {
ctx.SendChain(message.Text("ERROR: 可能被风控了")) ctx.SendChain(message.Text("ERROR: 可能被风控了"))
} }
}) })
// 卡组 // 卡组
engine.OnRegex(`^[\s\S]*?(AAE[a-zA-Z0-9/\+=]{70,})[\s\S]*$`). engine.OnRegex(`^[\s\S]*?(AAE[a-zA-Z0-9/\+=]{70,})[\s\S]*$`).