diff --git a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/event/MessageSubscribers.kt b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/event/MessageSubscribers.kt index 17bf7b99f..8331c2a4a 100644 --- a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/event/MessageSubscribers.kt +++ b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/event/MessageSubscribers.kt @@ -127,7 +127,7 @@ class MessageSubscribersBuilder>( */ suspend fun startsWith( prefix: String, - removePrefix: Boolean = false, + removePrefix: Boolean = true, onEvent: @MessageDsl suspend T.(String) -> Unit ) = content({ it.startsWith(prefix) }) {