pub const fn get_current_user_guilds_limit(
limit: u16,
) -> Result<(), ValidationError>
Expand description
Ensure that the limit for the Get Current User Guilds request is correct.
The limit must be at least GET_CURRENT_USER_GUILDS_LIMIT_MIN
and at most
GET_CURRENT_USER_GUILDS_LIMIT_MAX
. This is based on
this documentation entry.
ยงErrors
Returns an error of type GetCurrentUserGuilds
if the limit is invalid.