From aac7dbf6aea502d80b027acc6de056cc37a88fed Mon Sep 17 00:00:00 2001 From: Him188 Date: Sat, 21 Mar 2020 01:11:45 +0800 Subject: [PATCH] Adjust constructor visibility --- .../src/commonMain/kotlin/net.mamoe.mirai/event/select.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/event/select.kt b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/event/select.kt index 77a738a1c..d14eb7bcf 100644 --- a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/event/select.kt +++ b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/event/select.kt @@ -102,7 +102,7 @@ suspend inline fun , R> T.selectMessages( internal val SELECT_MESSAGE_STUB = Any() @SinceMirai("0.29.0") -class MessageSelectBuilder, R>( +class MessageSelectBuilder, R> internal constructor( stub: Any?, subscriber: (M.(String) -> Boolean, MessageListener) -> Unit ) : MessageSubscribersBuilder(stub, subscriber) \ No newline at end of file