Skip to content

Commit

Permalink
feat(plugins/moliplugin/): 依赖KonataPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
yiyungent committed Jan 14, 2023
1 parent fa5e786 commit 23aaf86
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 14 deletions.
2 changes: 1 addition & 1 deletion plugins/MoLiPlugin/MoLiPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
using Konata.Core;
using Konata.Core.Events.Model;
using Konata.Core.Interfaces.Api;
using QQBotHub.Sdk.IPlugins;
using MoLiPlugin.Utils;
using KonataPlugin;
using Konata.Core.Message;
using Konata.Core.Message.Model;
using System.Text;
Expand Down
11 changes: 1 addition & 10 deletions plugins/MoLiPlugin/MoLiPlugin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,7 @@
</PackageReference>-->
<!--<PackageReference Include="SqlSugarCore" Version="5.0.7.3" />-->
<!--<PackageReference Include="SqlSugarCoreNoDrive" Version="5.0.7.3" />-->
</ItemGroup>

<!-- 方便开发debug,与发布到nuget -->
<ItemGroup Condition="'$(Configuration)' == 'Release'">
<PackageReference Include="QQBotHub.Sdk" Version="0.1.0">
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup Condition="'$(Configuration)' == 'Debug'">
<ProjectReference Include="..\..\src\QQBotHub.Sdk\QQBotHub.Sdk.csproj">
<ProjectReference Include="..\KonataPlugin\KonataPlugin.csproj">
<Private>false</Private>
<ExcludeAssets>runtime</ExcludeAssets>
</ProjectReference>
Expand Down
4 changes: 2 additions & 2 deletions plugins/MoLiPlugin/Utils/MoLiApiUtil.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using System;
using KonataPlugin.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using QQBotHub.Sdk.Utils;

namespace MoLiPlugin.Utils
{
Expand Down
2 changes: 1 addition & 1 deletion plugins/MoLiPlugin/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"DisplayName": "茉莉机器人",
"Description": "对接 茉莉 API",
"Author": "yiyun",
"Version": "0.3.1",
"Version": "1.0.0",
"SupportedVersions": [ "0.0.1" ]
}

0 comments on commit 23aaf86

Please sign in to comment.