Skip to main content

check_commands

Function check_commands 

Source
pub fn check_commands(commands: &[ApplicationCommand]) -> Result<(), BodyError>
Expand description

Every command’s rules, the per-type counts and unique names; at most 8 000 scalars of text per command.

§Errors

The first violated rule.