✏️ 提高求签优先级

This commit is contained in:
fumiama 2021-08-25 22:00:11 +08:00
parent 33b00f369f
commit 10c79456a5

View File

@ -13,7 +13,7 @@ const (
)
func init() { // 插件主体
zero.OnFullMatchGroup([]string{"求签", "运势", "占卜"}, zero.OnlyToMe).
zero.OnFullMatchGroup([]string{"求签", "运势", "占卜"}, zero.OnlyToMe).SetPriority(10).
Handle(func(ctx *zero.Ctx) {
miku := rand.Intn(100) + 1
ctx.SendChain(message.Image(fmt.Sprintf(bed, miku, 0)), message.Image(fmt.Sprintf(bed, miku, 1)))