From 536dc5ba86215a5acb693b977f73f24f58456179 Mon Sep 17 00:00:00 2001 From: bsdayo Date: Thu, 20 Apr 2023 00:21:07 +0800 Subject: [PATCH] release: update project versions --- src/Flandre.Adapters.Konata/Flandre.Adapters.Konata.csproj | 2 +- src/Flandre.Adapters.Mock/Flandre.Adapters.Mock.csproj | 2 +- src/Flandre.Adapters.OneBot/Flandre.Adapters.OneBot.csproj | 2 +- src/Flandre.Core.Reactive/Flandre.Core.Reactive.csproj | 2 +- src/Flandre.Core/Common/BotExtensions.cs | 3 ++- src/Flandre.Core/Common/IAdapter.cs | 2 +- src/Flandre.Core/Flandre.Core.csproj | 2 +- .../Flandre.Framework.Reactive.csproj | 2 +- src/Flandre.Framework/Flandre.Framework.csproj | 2 +- src/Flandre.Framework/FlandreAppBuilder.cs | 1 - 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/Flandre.Adapters.Konata/Flandre.Adapters.Konata.csproj b/src/Flandre.Adapters.Konata/Flandre.Adapters.Konata.csproj index ae00102..ce2c6df 100644 --- a/src/Flandre.Adapters.Konata/Flandre.Adapters.Konata.csproj +++ b/src/Flandre.Adapters.Konata/Flandre.Adapters.Konata.csproj @@ -2,7 +2,7 @@ Flandre.Adapters.Konata - 2.0.0-rc.1 + 2.0.0-rc.2 FlandreDevs,bsdayo Konata.Core (QQ Protocol) adapter for Flandre project. bot;chatbot;flandre;adapter;konata diff --git a/src/Flandre.Adapters.Mock/Flandre.Adapters.Mock.csproj b/src/Flandre.Adapters.Mock/Flandre.Adapters.Mock.csproj index 0fa8193..628c61f 100644 --- a/src/Flandre.Adapters.Mock/Flandre.Adapters.Mock.csproj +++ b/src/Flandre.Adapters.Mock/Flandre.Adapters.Mock.csproj @@ -2,7 +2,7 @@ Flandre.Adapters.Mock - 1.0.0-rc.1 + 1.0.0-rc.2 FlandreDevs,bsdayo Mock client for Project Flandre. bot;chatbot;flandre;adapter diff --git a/src/Flandre.Adapters.OneBot/Flandre.Adapters.OneBot.csproj b/src/Flandre.Adapters.OneBot/Flandre.Adapters.OneBot.csproj index 760f004..20d9575 100644 --- a/src/Flandre.Adapters.OneBot/Flandre.Adapters.OneBot.csproj +++ b/src/Flandre.Adapters.OneBot/Flandre.Adapters.OneBot.csproj @@ -2,7 +2,7 @@ Flandre.Adapters.OneBot - 2.0.0-rc.1 + 2.0.0-rc.2 FlandreDevs,bsdayo OneBot protocol adapter for Flandre project. bot;chatbot;flandre;adapter;onebot diff --git a/src/Flandre.Core.Reactive/Flandre.Core.Reactive.csproj b/src/Flandre.Core.Reactive/Flandre.Core.Reactive.csproj index 071fff1..193fd1d 100644 --- a/src/Flandre.Core.Reactive/Flandre.Core.Reactive.csproj +++ b/src/Flandre.Core.Reactive/Flandre.Core.Reactive.csproj @@ -2,7 +2,7 @@ Flandre.Core.Reactive - 1.0.0-rc.1 + 1.0.0-rc.2 FlandreDevs,bsdayo Reactive Extensions (Rx.NET) support for Flandre.Core. flandre;rx.net;reactive diff --git a/src/Flandre.Core/Common/BotExtensions.cs b/src/Flandre.Core/Common/BotExtensions.cs index da9876e..9d5fc5e 100644 --- a/src/Flandre.Core/Common/BotExtensions.cs +++ b/src/Flandre.Core/Common/BotExtensions.cs @@ -16,7 +16,8 @@ public static class BotExtensions /// 用户 ID /// 消息内容 /// 群组 ID - public static Task SendMessageAsync(this Bot bot, MessageEnvironment environment, string? channelId, string? userId, + public static Task SendMessageAsync(this Bot bot, MessageEnvironment environment, string? channelId, + string? userId, MessageContent content, string? guildId = null) { diff --git a/src/Flandre.Core/Common/IAdapter.cs b/src/Flandre.Core/Common/IAdapter.cs index 3695682..8b95d0d 100644 --- a/src/Flandre.Core/Common/IAdapter.cs +++ b/src/Flandre.Core/Common/IAdapter.cs @@ -9,7 +9,7 @@ public interface IAdapter /// 适配器机器人列表 /// public IEnumerable Bots { get; } - + /// /// 启动适配器 /// diff --git a/src/Flandre.Core/Flandre.Core.csproj b/src/Flandre.Core/Flandre.Core.csproj index 103707c..2c35b8e 100644 --- a/src/Flandre.Core/Flandre.Core.csproj +++ b/src/Flandre.Core/Flandre.Core.csproj @@ -2,7 +2,7 @@ Flandre.Core - 1.0.0-rc.1 + 1.0.0-rc.2 FlandreDevs,bsdayo 跨平台聊天机器人框架核心,提供基本交互操作,容易嵌入到已有项目中。 bot;chatbot;flandre diff --git a/src/Flandre.Framework.Reactive/Flandre.Framework.Reactive.csproj b/src/Flandre.Framework.Reactive/Flandre.Framework.Reactive.csproj index 25b3b38..1a386cf 100644 --- a/src/Flandre.Framework.Reactive/Flandre.Framework.Reactive.csproj +++ b/src/Flandre.Framework.Reactive/Flandre.Framework.Reactive.csproj @@ -2,7 +2,7 @@ Flandre.Framework.Reactive - 1.0.0-rc.1 + 1.0.0-rc.2 FlandreDevs,bsdayo Reactive Extensions (Rx.NET) support for Flandre.Framework. flandre;rx.net;reactive diff --git a/src/Flandre.Framework/Flandre.Framework.csproj b/src/Flandre.Framework/Flandre.Framework.csproj index 30962e3..2eaed64 100644 --- a/src/Flandre.Framework/Flandre.Framework.csproj +++ b/src/Flandre.Framework/Flandre.Framework.csproj @@ -2,7 +2,7 @@ Flandre.Framework - 1.0.0-rc.6 + 1.0.0-rc.7 FlandreDevs,bsdayo 现代化、跨平台的聊天机器人框架,一次编写,多处运行。 bot;chatbot;flandre;framework diff --git a/src/Flandre.Framework/FlandreAppBuilder.cs b/src/Flandre.Framework/FlandreAppBuilder.cs index a3a24a5..4c68ec0 100644 --- a/src/Flandre.Framework/FlandreAppBuilder.cs +++ b/src/Flandre.Framework/FlandreAppBuilder.cs @@ -1,7 +1,6 @@ using Flandre.Core.Common; using Flandre.Framework.Common; using Flandre.Framework.Services; -using Flandre.Framework.Utils; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting;