chore(lint): 改进代码样式 (#888)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2024-04-13 17:52:33 +09:00 committed by GitHub
parent dfe6d347a5
commit cab917d054
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -103,7 +103,6 @@ func init() {
recordType := ctx.State["matched"].(string) // 假设这是获取消息文本的方式
recordURL := urlMap[recordType]
ctx.SendChain(message.Record(recordURL))
})
engine.OnFullMatchGroup([]string{"随机骚话", "土味情话", "随机污句子"}).SetBlock(true).Limit(ctxext.LimitByUser).Handle(func(ctx *zero.Ctx) {
textType := ctx.State["matched"].(string) // 假设这是获取消息文本的方式