# Function command::object::check_commands

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

`zaun_community_protocol::command::object::check_commands` · Function

```rust
pub fn check_commands(commands: &[ApplicationCommand]) -> Result<(), BodyError>
```

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.

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/command/object/app_command/check/fn.check_commands.html)
