✏️ 求签艾特本人

This commit is contained in:
fumiama 2021-08-27 11:30:58 +08:00
parent 5b8fd14d09
commit 736f645e9d

View File

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