🐛 fix: b14 decode

This commit is contained in:
源文雨
2022-06-13 12:32:09 +08:00
parent 7ded2fe13a
commit a2dfc54068
7 changed files with 19 additions and 19 deletions

View File

@@ -28,7 +28,7 @@ func init() { // 插件主体
engine.OnFullMatchGroup([]string{"求签", "占卜"}).SetBlock(true).
Handle(func(ctx *zero.Ctx) {
i := ctxext.RandSenderPerDayN(ctx, 100) + 1
i := ctxext.RandSenderPerDayN(ctx.Event.UserID, 100) + 1
ctx.SendChain(
message.At(ctx.Event.UserID),
message.Image(fmt.Sprintf(bed, i, 0)),
@@ -65,7 +65,7 @@ func init() { // 插件主体
Handle(func(ctx *zero.Ctx) {
kujiBytes, err := text.RenderToBase64(
getKujiByBango(
uint8(ctxext.RandSenderPerDayN(ctx, 100)+1),
uint8(ctxext.RandSenderPerDayN(ctx.Event.UserID, 100)+1),
),
text.FontFile, 400, 20,
)