From ee1ea33898e6af80cf496018f785835c5c9704b1 Mon Sep 17 00:00:00 2001 From: Him188 Date: Wed, 10 Mar 2021 10:34:50 +0800 Subject: [PATCH] Remove inappropriate use of DSL marker on ForwardMessageBuilder.add --- .../src/commonMain/kotlin/message/data/ForwardMessage.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/mirai-core-api/src/commonMain/kotlin/message/data/ForwardMessage.kt b/mirai-core-api/src/commonMain/kotlin/message/data/ForwardMessage.kt index 2730344c3..a4b39abac 100644 --- a/mirai-core-api/src/commonMain/kotlin/message/data/ForwardMessage.kt +++ b/mirai-core-api/src/commonMain/kotlin/message/data/ForwardMessage.kt @@ -662,7 +662,6 @@ public class ForwardMessageBuilder private constructor( * * @since 2.1 */ - @ForwardMessageDsl public fun add(event: MessageEvent): ForwardMessageBuilder { return event.sender named event.senderName at event.time says event.message }