mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-01-06 04:09:00 +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).
|
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]
|
||||||
|
|||||||
@ -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
|
||||||
}
|
}
|
||||||
// 获取名字
|
// 获取名字
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user