mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-06 15:20:22 +00:00
fix(qqwife&robbery): at 解析问题 (#961)
* fix(gif, qqwife): at 解析问题 适配买礼物的at解析问题 * fix(robbery): at 解析问题 robbery同样的@解析问题 * Update robbery.go * Update favorSystem.go
This commit is contained in:
@@ -47,7 +47,7 @@ func init() {
|
||||
)
|
||||
})
|
||||
// 礼物系统
|
||||
engine.OnRegex(`^买礼物给\s?(\[CQ:at,qq=(\d+)\]|(\d+))`, getdb).SetBlock(true).Limit(ctxext.LimitByUser).
|
||||
engine.OnRegex(`^买礼物给\[CQ:at,(?:\S*,)?qq=(\d+)(?:,\S*)?\]|(\d+))`, getdb).SetBlock(true).Limit(ctxext.LimitByUser).
|
||||
Handle(func(ctx *zero.Ctx) {
|
||||
gid := ctx.Event.GroupID
|
||||
uid := ctx.Event.UserID
|
||||
|
||||
Reference in New Issue
Block a user