Commit aac7dbf6 authored by Him188's avatar Him188

Adjust constructor visibility

parent 98cd7682
...@@ -102,7 +102,7 @@ suspend inline fun <reified T : MessagePacket<*, *>, R> T.selectMessages( ...@@ -102,7 +102,7 @@ suspend inline fun <reified T : MessagePacket<*, *>, R> T.selectMessages(
internal val SELECT_MESSAGE_STUB = Any() internal val SELECT_MESSAGE_STUB = Any()
@SinceMirai("0.29.0") @SinceMirai("0.29.0")
class MessageSelectBuilder<M : MessagePacket<*, *>, R>( class MessageSelectBuilder<M : MessagePacket<*, *>, R> internal constructor(
stub: Any?, stub: Any?,
subscriber: (M.(String) -> Boolean, MessageListener<M, Any?>) -> Unit subscriber: (M.(String) -> Boolean, MessageListener<M, Any?>) -> Unit
) : MessageSubscribersBuilder<M, Unit, R, Any?>(stub, subscriber) ) : MessageSubscribersBuilder<M, Unit, R, Any?>(stub, subscriber)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment