mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-09 01:30:17 +08:00
Adjust constructor visibility
This commit is contained in:
parent
98cd768233
commit
aac7dbf6ae
@ -102,7 +102,7 @@ suspend inline fun <reified T : MessagePacket<*, *>, R> T.selectMessages(
|
||||
internal val SELECT_MESSAGE_STUB = Any()
|
||||
|
||||
@SinceMirai("0.29.0")
|
||||
class MessageSelectBuilder<M : MessagePacket<*, *>, R>(
|
||||
class MessageSelectBuilder<M : MessagePacket<*, *>, R> internal constructor(
|
||||
stub: Any?,
|
||||
subscriber: (M.(String) -> Boolean, MessageListener<M, Any?>) -> Unit
|
||||
) : MessageSubscribersBuilder<M, Unit, R, Any?>(stub, subscriber)
|
Loading…
Reference in New Issue
Block a user