Content Message
Properties
Inheritors
Extensions
Link copied to clipboard
fun ContentMessage<TextContent>.parseCommandsWithParams(argsSeparator: Regex = defaultArgsSeparator): Map<String, Array<String>>
Content copied to clipboard
Parse commands and their args. Logic will find command, get all subsequent data as args until new command
Link copied to clipboard
inline fun <T : MessageContent> ContentMessage<*>.requireWithContent(): ContentMessage<T>
Content copied to clipboard
Link copied to clipboard
inline fun <T : MessageContent> ContentMessage<*>.withContent(): ContentMessage<T>?
Content copied to clipboard