pub const fn get_guild_bans_limit(limit: u16) -> Result<(), ValidationError>
Expand description
Ensure that the limit for the Get Guild Bans endpoint is correct.
The limit must be at most GET_GUILD_BANS_LIMIT_MAX
. This is based on
this documentation entry.
ยงErrors
Returns an error of type GetGuildBans
if the limit is invalid.