has No Commands
A predicate to test whether a message contains any commands in its body. Use it as the initialFilter
parameter in behaviour builder triggers. E.g.
onContentMessage(
initialFilter = CommonMessage<MessageContent>::hasNoCommands
) {
// the message contains no commands here
}
Content copied to clipboard
Return
true if this CommonMessage does not contain any commands. False otherwise.