twilight_
validate
0.16.0
In twilight_
validate::
request
Structs
ValidationError
Enums
ValidationErrorType
Constants
AUDIT_REASON_MAX
AUTO_MODERATION_ACTION_BLOCK_CUSTOM_MESSAGE_LENGTH_MAX
AUTO_MODERATION_ACTION_METADATA_DURATION_SECONDS_MAX
AUTO_MODERATION_EXEMPT_CHANNELS_MAX
AUTO_MODERATION_EXEMPT_ROLES_MAX
AUTO_MODERATION_METADATA_KEYWORD_ALLOW_LIST_LENGTH_MAX
AUTO_MODERATION_METADATA_KEYWORD_ALLOW_LIST_MAX
AUTO_MODERATION_METADATA_KEYWORD_FILTER_LENGTH_MAX
AUTO_MODERATION_METADATA_KEYWORD_FILTER_MAX
AUTO_MODERATION_METADATA_MENTION_TOTAL_LIMIT
AUTO_MODERATION_METADATA_PRESET_ALLOW_LIST_LENGTH_MAX
AUTO_MODERATION_METADATA_PRESET_ALLOW_LIST_MAX
AUTO_MODERATION_METADATA_REGEX_PATTERNS_LENGTH_MAX
AUTO_MODERATION_METADATA_REGEX_PATTERNS_MAX
COMMUNICATION_DISABLED_MAX_DURATION
CREATE_GUILD_BAN_DELETE_MESSAGE_SECONDS_MAX
GET_CHANNEL_MESSAGES_LIMIT_MAX
GET_CHANNEL_MESSAGES_LIMIT_MIN
GET_CURRENT_USER_GUILDS_LIMIT_MAX
GET_CURRENT_USER_GUILDS_LIMIT_MIN
GET_ENTITLEMENTS_LIMIT_MAX
GET_ENTITLEMENTS_LIMIT_MIN
GET_GUILD_AUDIT_LOG_LIMIT_MAX
GET_GUILD_AUDIT_LOG_LIMIT_MIN
GET_GUILD_BANS_LIMIT_MAX
GET_GUILD_MEMBERS_LIMIT_MAX
GET_GUILD_MEMBERS_LIMIT_MIN
GET_REACTIONS_LIMIT_MAX
GET_REACTIONS_LIMIT_MIN
GUILD_NAME_LENGTH_MAX
GUILD_NAME_LENGTH_MIN
GUILD_PRUNE_DAYS_MAX
GUILD_PRUNE_DAYS_MIN
INVITE_AGE_MAX
INVITE_USES_MAX
NICKNAME_LIMIT_MAX
NICKNAME_LIMIT_MIN
SCHEDULED_EVENT_DESCRIPTION_MAX
SCHEDULED_EVENT_DESCRIPTION_MIN
SCHEDULED_EVENT_GET_USERS_MAX
SCHEDULED_EVENT_GET_USERS_MIN
SCHEDULED_EVENT_NAME_MAX
SCHEDULED_EVENT_NAME_MIN
SEARCH_GUILD_MEMBERS_LIMIT_MAX
SEARCH_GUILD_MEMBERS_LIMIT_MIN
STAGE_TOPIC_LENGTH_MAX
STAGE_TOPIC_LENGTH_MIN
TEMPLATE_DESCRIPTION_LENGTH_MAX
TEMPLATE_NAME_LENGTH_MAX
TEMPLATE_NAME_LENGTH_MIN
USERNAME_LIMIT_MAX
USERNAME_LIMIT_MIN
WEBHOOK_USERNAME_LIMIT_MAX
WEBHOOK_USERNAME_LIMIT_MIN
Functions
audit_reason
auto_moderation_action_metadata_duration_seconds
auto_moderation_block_action_custom_message_limit
auto_moderation_exempt_channels
auto_moderation_exempt_roles
auto_moderation_metadata_keyword_allow_list
auto_moderation_metadata_keyword_allow_list_item
auto_moderation_metadata_keyword_filter
auto_moderation_metadata_keyword_filter_item
auto_moderation_metadata_mention_total_limit
auto_moderation_metadata_preset_allow_list
auto_moderation_metadata_preset_allow_list_item
auto_moderation_metadata_regex_patterns
auto_moderation_metadata_regex_patterns_item
communication_disabled_until
create_guild_ban_delete_message_seconds
get_channel_messages_limit
get_current_user_guilds_limit
get_entitlements_limit
get_guild_audit_log_limit
get_guild_bans_limit
get_guild_members_limit
get_reactions_limit
guild_name
guild_prune_days
invite_max_age
invite_max_uses
nickname
scheduled_event_description
scheduled_event_get_users
scheduled_event_name
search_guild_members_limit
stage_topic
template_description
template_name
username
webhook_username
twilight_validate
::
request
Constant
GUILD_NAME_LENGTH_MIN
Copy item path
Settings
Help
Summary
Source
pub const GUILD_NAME_LENGTH_MIN:
usize
= 2;
Expand description
Minimum length of a guild’s name.