✏️ 修复戳别字

This commit is contained in:
Kanri 2021-07-14 14:10:30 +08:00
parent 56e90f1c1e
commit bb58647b3e
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ func init() { // 插件主体
zero.OnRegex(`^来份(.*)$`, FirstValueInList(POOL.List)).SetBlock(true).SetPriority(20). zero.OnRegex(`^来份(.*)$`, FirstValueInList(POOL.List)).SetBlock(true).SetPriority(20).
Handle(func(ctx *zero.Ctx) { Handle(func(ctx *zero.Ctx) {
if !limit.Load(ctx.Event.UserID).Acquire() { if !limit.Load(ctx.Event.UserID).Acquire() {
ctx.SendChain(message.Text("少女祈祷中......")) ctx.SendChain(message.Text("请稍后重试0x0..."))
return return
} }
var type_ = ctx.State["regex_matched"].([]string)[1] var type_ = ctx.State["regex_matched"].([]string)[1]

View File

@ -28,7 +28,7 @@ func init() {
// shindanmaker 处理函数 // shindanmaker 处理函数
var handle = func(ctx *zero.Ctx) { var handle = func(ctx *zero.Ctx) {
if !limit.Load(ctx.Event.UserID).Acquire() { if !limit.Load(ctx.Event.UserID).Acquire() {
ctx.Send("请稍后重试0x0...") ctx.SendChain(message.Text("请稍后重试0x0..."))
return return
} }
// 获取名字 // 获取名字