Skip to main content

bulk_guild_ban_users

Function bulk_guild_ban_users 

Source
pub const fn bulk_guild_ban_users(
    user_ids: &[Id<UserMarker>],
) -> Result<(), ValidationError>
Expand description

Ensure that the user IDs for the Bulk Guild Ban request is correct.

The user IDs must have at most BULK_GUILD_BAN_USER_LIMIT_MAX elements. This is based on this documentation entry.

ยงErrors

Returns an error of type BulkGuildBanUsers if the user IDs are invalid.