mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 22:00:11 +08:00
chore(lint): 改进代码样式 (#888)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
dfe6d347a5
commit
cab917d054
@ -103,7 +103,6 @@ func init() {
|
|||||||
recordType := ctx.State["matched"].(string) // 假设这是获取消息文本的方式
|
recordType := ctx.State["matched"].(string) // 假设这是获取消息文本的方式
|
||||||
recordURL := urlMap[recordType]
|
recordURL := urlMap[recordType]
|
||||||
ctx.SendChain(message.Record(recordURL))
|
ctx.SendChain(message.Record(recordURL))
|
||||||
|
|
||||||
})
|
})
|
||||||
engine.OnFullMatchGroup([]string{"随机骚话", "土味情话", "随机污句子"}).SetBlock(true).Limit(ctxext.LimitByUser).Handle(func(ctx *zero.Ctx) {
|
engine.OnFullMatchGroup([]string{"随机骚话", "土味情话", "随机污句子"}).SetBlock(true).Limit(ctxext.LimitByUser).Handle(func(ctx *zero.Ctx) {
|
||||||
textType := ctx.State["matched"].(string) // 假设这是获取消息文本的方式
|
textType := ctx.State["matched"].(string) // 假设这是获取消息文本的方式
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user