Discord
Guild
: { afk_channel_id
?: string; afk_timeout
: number; application_id
?: string; approximate_member_count
?: number; approximate_presence_count
?: number; banner
?: string; default_message_notifications
: DiscordDefaultMessageNotificationLevel; description
?: string; discovery_splash
?: string; emojis
: DiscordEmoji[]; explicit_content_filter
: DiscordExplicitContentFilterLevel; features
: string[]; icon
?: string; icon_hash
?: string; id
: string; max_members
: number; max_presences
?: number; max_video_channel_users
?: number; mfa_level
: DiscordMFALevel; name
: string; nsfw_level
: DiscordNSFWLevel; owner
?: boolean; owner_id
: string; permissions
?: string; preferred_locale
: string; premium_progress_bar_enabled
: boolean; premium_subscription_count
?: number; premium_tier
: DiscordPremiumTier; public_updates_channel_id
?: string; region
: string; roles
: DiscordRole[]; rules_channel_id
?: string; splash
?: string; stickers
?: DiscordSticker[]; system_channel_flags
: DiscordSystemChannelFlags; system_channel_id
?: string; vanity_url_code
?: string; verification_level
: DiscordVerificationLevel; welcome_screen
?: DiscordWelcomeScreen; widget_channel_id
?: number; widget_enabled
?: boolean; }
Type declaration
-
Optional
afk_channel_id?: string
-
afk_timeout: number
-
Optional
application_id?: string
-
Optional
approximate_member_count?: number
-
Optional
approximate_presence_count?: number
-
Optional
banner?: string
-
-
Optional
description?: string
-
Optional
discovery_splash?: string
-
-
-
features: string[]
-
Optional
icon?: string
-
Optional
icon_hash?: string
-
id: string
-
max_members: number
-
Optional
max_presences?: number
-
Optional
max_video_channel_users?: number
-
-
name: string
-
-
Optional
owner?: boolean
-
owner_id: string
-
Optional
permissions?: string
-
preferred_locale: string
-
premium_progress_bar_enabled: boolean
-
Optional
premium_subscription_count?: number
-
-
Optional
public_updates_channel_id?: string
-
region: string
-
-
Optional
rules_channel_id?: string
-
Optional
splash?: string
-
-
-
Optional
system_channel_id?: string
-
Optional
vanity_url_code?: string
-
-
-
Optional
widget_channel_id?: number
-
Optional
widget_enabled?: boolean
A DiscordGuild is a Discord server.
See
https://discord.com/developers/docs/resources/guild#guild-object