startsWith
fun startsWith(prefix: String, trim: Boolean = true): MessageSubscribersBuilder.ListeningFilter<M, Ret, R, RR>
Content copied to clipboard
fun startsWith( prefix: String, removePrefix: Boolean = true, trim: Boolean = true, onEvent: suspend M.(String) -> R): Ret
Content copied to clipboard
如果消息的前缀是 prefix