From 1c7bba830551dd3b393334948c5e0de56feeb18e Mon Sep 17 00:00:00 2001 From: "cat.Y" <76583155+MrY-Cat@users.noreply.github.com> Date: Sun, 20 Aug 2023 15:20:22 +0800 Subject: [PATCH] =?UTF-8?q?[core]=20=E4=BF=AE=E5=A4=8D=20`NormalMember.spe?= =?UTF-8?q?cialTitle`=20=E6=B3=A8=E9=87=8A=E4=B8=AD=20`@see`=20=E7=9A=84?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E5=85=B3=E8=81=94=E6=98=BE=E7=A4=BA=EF=BC=8C?= =?UTF-8?q?=E5=B9=B6=E5=AE=8C=E5=96=84=E6=B3=A8=E9=87=8A=20(#2777)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 修复NormalMember.specialTitle注释中@see的错误关联显示,并完善注释 * 修改NormalMember.specialTitle注释中@suppress的语句表述 --- mirai-core-api/src/commonMain/kotlin/contact/NormalMember.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mirai-core-api/src/commonMain/kotlin/contact/NormalMember.kt b/mirai-core-api/src/commonMain/kotlin/contact/NormalMember.kt index 63e09d3dca..66008b578c 100644 --- a/mirai-core-api/src/commonMain/kotlin/contact/NormalMember.kt +++ b/mirai-core-api/src/commonMain/kotlin/contact/NormalMember.kt @@ -56,8 +56,9 @@ public interface NormalMember : Member { * * 在修改时将会异步上传至服务器. * - * @see MemberSpecialTitleChangeEvent 群特殊头衔被管理员, 自己或 [Bot] 改动事件. 修改时也会触发此事件. + * @see MemberSpecialTitleChangeEvent 成员群特殊头衔改动事件. * @throws PermissionDeniedException 无权限修改时 + * @suppress 请勿试图修改其为空字符串来产生空头衔效果,这将使成员实际佩戴头衔退回为[活跃度相关头衔][Member.active]或管理员头衔. */ public override var specialTitle: String