Skip to content

Commit b47aca6

Browse files
committed
2 parents 95b6997 + 08ce525 commit b47aca6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/AssmeblyCheck/AssmeblyCheck.csproj

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
@@ -8,7 +8,6 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<ProjectReference Include="..\EleCho.GoCqHttpSdk.MessageMatching\EleCho.GoCqHttpSdk.MessageMatching.csproj" />
1211
<ProjectReference Include="..\EleCho.GoCqHttpSdk\EleCho.GoCqHttpSdk.csproj" />
1312
</ItemGroup>
1413

src/TestConsole/MyPostPlugin.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public override async Task OnGroupMessageReceivedAsync(CqGroupMessagePostContext
2626
string text = context.Message.Text;
2727
if (text.StartsWith("TTS:", StringComparison.OrdinalIgnoreCase))
2828
{
29-
await actionSession.SendGroupMessageAsync(context.GroupId, new CqMessage(text[4..]));
29+
await actionSession.SendGroupMessageAsync(context.GroupId, new CqMessage(new CqTtsMsg(text[4..])));
3030
}
3131
else if (text.StartsWith("ToFace:"))
3232
{

0 commit comments

Comments
 (0)