From 732f8920d247e0935a5f75f9819a30e27206524e Mon Sep 17 00:00:00 2001 From: Zero Ash Date: Thu, 1 Oct 2026 02:36:51 +0800 Subject: [PATCH] =?UTF-8?q?fix(synthesize):=20=E4=BF=AE=E6=AD=A3=E7=BE=A4?= =?UTF-8?q?=E7=BB=84=E5=8F=91=E9=80=81=E6=96=B9=E6=B3=95=E5=B9=B6=E8=A1=A5?= =?UTF-8?q?=E5=85=85=20Weibo=20=E9=A1=B9=E7=9B=AE=E5=88=B0=E8=A7=A3?= =?UTF-8?q?=E5=86=B3=E6=96=B9=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - SynthesizeCommandHandler 改用 SendAsGroup - 将 ZeroBot.Weibo 项目加入 ZeroBot.slnx --- ZeroBot.slnx | 1 + src/plugins/ZeroBot.Synthesize/SynthesizeCommandHandler.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ZeroBot.slnx b/ZeroBot.slnx index 37148ef..098dc71 100644 --- a/ZeroBot.slnx +++ b/ZeroBot.slnx @@ -15,6 +15,7 @@ + diff --git a/src/plugins/ZeroBot.Synthesize/SynthesizeCommandHandler.cs b/src/plugins/ZeroBot.Synthesize/SynthesizeCommandHandler.cs index e940aac..d723432 100644 --- a/src/plugins/ZeroBot.Synthesize/SynthesizeCommandHandler.cs +++ b/src/plugins/ZeroBot.Synthesize/SynthesizeCommandHandler.cs @@ -63,7 +63,7 @@ await message.ReplyAsGroup(bot, cancellationToken, var record = new RecordOutgoingSegment( new RecordOutgoingSegmentData(new MilkyUri($"base64://{Convert.ToBase64String(bytes)}"))); - await message.ReplyAsGroup(bot, cancellationToken, [record]); + await message.SendAsGroup(bot, cancellationToken, [record]); } ///