From fa734ce2ffaf5557998e5f52ebb1d31fca331fce Mon Sep 17 00:00:00 2001 From: char46 <53117560+char-46@users.noreply.github.com> Date: Wed, 25 Jan 2023 23:18:23 +0800 Subject: [PATCH] =?UTF-8?q?[docs]=20=E5=B0=86=20TempCommandSender=20?= =?UTF-8?q?=E6=9B=BF=E6=8D=A2=E4=B8=BA=20GroupTempCommandSender=20=20(#245?= =?UTF-8?q?7)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根据后文代码注释'mirai 正计划支持其他渠道发起的临时会话, 届时此事件会变动. 原 TempCommandSender 已更改为 GroupTempCommandSender'修改。 --- .../backend/mirai-console/src/command/CommandSender.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mirai-console/backend/mirai-console/src/command/CommandSender.kt b/mirai-console/backend/mirai-console/src/command/CommandSender.kt index fa3717f3d..5096e9e75 100644 --- a/mirai-console/backend/mirai-console/src/command/CommandSender.kt +++ b/mirai-console/backend/mirai-console/src/command/CommandSender.kt @@ -134,11 +134,11 @@ import kotlin.coroutines.CoroutineContext * | +------+------------+---------------+ | * | | | | * | | | | } - * FriendCommandSender MemberCommandSender TempCommandSender | } 二级子类 + * FriendCommandSender MemberCommandSender GroupTempCommandSender | } 二级子类 * ↑ ↑ ↑ | } * | | | | * | | | | } - * FriendCommandSenderOnMessage MemberCommandSenderOnMessage TempCommandSenderOnMessage | } 三级子类 + * FriendCommandSenderOnMessage MemberCommandSenderOnMessage GroupTempCommandSenderOnMessage | } 三级子类 * | | | | } * | | | | * +-----------------------------+----------------------------+---------------------+