Content Message
Properties
Inheritors
CommonMessage
Link copied to clipboard
Extensions
parse Commands With Params
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
require With Content
Link copied to clipboard
inline fun <T : MessageContent> ContentMessage<*>.requireWithContent(): ContentMessage<T>
Content copied to clipboard
with Content
Link copied to clipboard
inline fun <T : MessageContent> ContentMessage<*>.withContent(): ContentMessage<T>?
Content copied to clipboard