From e0891200af2e41e70398f44adc3908d006885636 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 23 Apr 2024 16:12:34 +0900 Subject: [PATCH] =?UTF-8?q?chore(lint):=20=E6=94=B9=E8=BF=9B=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=A0=B7=E5=BC=8F=20(#891)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- plugin/ai_reply/ai_tts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/ai_reply/ai_tts.go b/plugin/ai_reply/ai_tts.go index fc0b49e5aa..dcf9a2a154 100644 --- a/plugin/ai_reply/ai_tts.go +++ b/plugin/ai_reply/ai_tts.go @@ -187,7 +187,7 @@ func (t *ttsmode) setSoundMode(ctx *zero.Ctx, name string, character int) error } } m := ctx.State["manager"].(*ctrl.Control[*zero.Ctx]) - //按原来的逻辑map存的是前16位 + // 按原来的逻辑map存的是前16位 storeIndex := (m.GetData(gid) &^ 0xffff00) | ((index << 8) & 0xff00) | ((int64(character) << 16) & 0xff0000) (*syncx.Map[int64, int64])(t).Store(gid, (storeIndex>>8)&0xffff) return m.SetData(gid, storeIndex)