mirai-core / net.mamoe.mirai.event / MessageSubscribersBuilder / containsAny

containsAny

@JvmOverloads fun containsAny(vararg sub: String, ignoreCase: Boolean = false, trim: Boolean = true): ListeningFilter<M, Ret, R, RR>

消息内容包含 sub

@PlannedRemoval("1.0.0") fun containsAny(vararg sub: String, ignoreCase: Boolean = false, trim: Boolean = true, onEvent: MessageListener<M, R>): Ret
Deprecated: for binary compatibility