File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
- <Project Sdk =" Microsoft.NET.Sdk" >
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
4
<OutputType >Exe</OutputType >
8
8
</PropertyGroup >
9
9
10
10
<ItemGroup >
11
- <ProjectReference Include =" ..\EleCho.GoCqHttpSdk.MessageMatching\EleCho.GoCqHttpSdk.MessageMatching.csproj" />
12
11
<ProjectReference Include =" ..\EleCho.GoCqHttpSdk\EleCho.GoCqHttpSdk.csproj" />
13
12
</ItemGroup >
14
13
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ public override async Task OnGroupMessageReceivedAsync(CqGroupMessagePostContext
26
26
string text = context . Message . Text ;
27
27
if ( text . StartsWith ( "TTS:" , StringComparison . OrdinalIgnoreCase ) )
28
28
{
29
- await actionSession . SendGroupMessageAsync ( context . GroupId , new CqMessage ( text [ 4 ..] ) ) ;
29
+ await actionSession . SendGroupMessageAsync ( context . GroupId , new CqMessage ( new CqTtsMsg ( text [ 4 ..] ) ) ) ;
30
30
}
31
31
else if ( text . StartsWith ( "ToFace:" ) )
32
32
{
You can’t perform that action at this time.
0 commit comments