pub const fn guild_permissions(
count: usize,
) -> Result<(), CommandValidationError>
Expand description
Validate the number of guild command permission overwrites.
The maximum number of commands allowed in a guild is defined by
GUILD_COMMAND_PERMISSION_LIMIT
.
ยงErrors
Returns an error of type PermissionsCountInvalid
if the permissions are
invalid.