[][src]Function ellidri_tokens::assert_msg

pub fn assert_msg(
    msg: &Message,
    prefix: Option<&str>,
    command: Result<Command, &str>,
    params: &[&str]
)

Assert all data of a message.

Empty elements in params will not be asserted with their equivalent in msg.params, but will still count for the assertion of the number of parameters.