Interface

APIGuild

Full guild object from GET /guilds/{id} or gateway GUILD_CREATE.

Properties

NameTypeDescription
afk_channel_id?Snowflake | nullAFK voice channel ID.
afk_timeoutnumberAFK timeout in seconds.
content_warning_level?ContentWarningLevelContent warning level (see ContentWarningLevel).
default_message_notificationsDefaultMessageNotificationsDefault notification level (see DefaultMessageNotifications).
disabled_operations?numberGuildOperations bitfield of disabled operations.
embed_splash?string | nullEmbed splash image hash (deprecated).
embed_splash_height?number | nullEmbed splash height in pixels.
embed_splash_width?number | nullEmbed splash width in pixels.
explicit_content_filterGuildExplicitContentFilterExplicit content filter level (see GuildExplicitContentFilter).
featuresGuildFeature[]Guild feature flags (see GuildFeature).
iconstring | nullGuild icon hash.
idSnowflakeGuild ID.
message_history_cutoff?string | nullISO-8601 timestamp before which message history is not available.
mfa_levelGuildMFALevelMFA requirement level (see GuildMFALevel).
namestringGuild name.
nsfw_levelGuildNSFWLevelNSFW level (see GuildNSFWLevel).
owner_idSnowflakeGuild owner user ID.
permissions?string | nullPermissions for the current user in this guild (bitfield string).
rules_channel_id?Snowflake | nullRules channel ID.
splash?string | nullInvite splash image hash.
splash_card_alignment?SplashCardAlignmentSplash card alignment (see SplashCardAlignment).
splash_height?number | nullSplash height in pixels.
splash_width?number | nullSplash width in pixels.
system_channel_flags?numberSystemChannelFlags bitfield.
system_channel_id?Snowflake | nullSystem channel ID (join/boost messages).
vanity_url_code?string | nullCustom vanity URL code.
verification_levelGuildVerificationLevelVerification level (see GuildVerificationLevel).