mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-24 18:51:02 +08:00
✏️ 修复戳别字
This commit is contained in:
parent
56e90f1c1e
commit
bb58647b3e
@ -59,7 +59,7 @@ func init() { // 插件主体
|
||||
zero.OnRegex(`^来份(.*)$`, FirstValueInList(POOL.List)).SetBlock(true).SetPriority(20).
|
||||
Handle(func(ctx *zero.Ctx) {
|
||||
if !limit.Load(ctx.Event.UserID).Acquire() {
|
||||
ctx.SendChain(message.Text("少女祈祷中......"))
|
||||
ctx.SendChain(message.Text("请稍后重试0x0..."))
|
||||
return
|
||||
}
|
||||
var type_ = ctx.State["regex_matched"].([]string)[1]
|
||||
|
||||
@ -28,7 +28,7 @@ func init() {
|
||||
// shindanmaker 处理函数
|
||||
var handle = func(ctx *zero.Ctx) {
|
||||
if !limit.Load(ctx.Event.UserID).Acquire() {
|
||||
ctx.Send("请稍后重试0x0...")
|
||||
ctx.SendChain(message.Text("请稍后重试0x0..."))
|
||||
return
|
||||
}
|
||||
// 获取名字
|
||||
|
||||
Loading…
Reference in New Issue
Block a user