matching
fun matching(regex: Regex): MessageSubscribersBuilder.ListeningFilter<M, Ret, R, RR>
Content copied to clipboard
消息内容可由正则表达式匹配(Regex.matchEntire)
fun matching(regex: Regex, onEvent: suspend M.(MatchResult) -> Unit): Ret
Content copied to clipboard
消息内容可由正则表达式匹配(Regex.matchEntire), 就执行 onEvent