Skip to main content
Module

x/discord_api_types/payloads/v6/guild.ts>APIGuild

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface APIGuild
implements APIPartialGuild
Deprecated
Deprecated

API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.

import { type APIGuild } from "https://deno.land/x/discord_api_types@0.37.11/payloads/v6/guild.ts";

Properties

discovery_splash: string | null
optional
owner: boolean
owner_id: string
optional
deprecated
permissions: number
optional
permissions_new: string
region: string
afk_channel_id: string | null
afk_timeout: number
optional
deprecated
embed_enabled: boolean
optional
deprecated
embed_channel_id: string | null
verification_level: GuildVerificationLevel
default_message_notifications: GuildDefaultMessageNotifications
explicit_content_filter: GuildExplicitContentFilter
roles: APIRole[]
emojis: APIEmoji[]
features: GuildFeature[]
mfa_level: GuildMFALevel
application_id: string | null
optional
widget_enabled: boolean
optional
widget_channel_id: string | null
system_channel_id: string | null
system_channel_flags: GuildSystemChannelFlags
rules_channel_id: string | null
optional
joined_at: string
optional
large: boolean
optional
member_count: number
optional
voice_states: Omit<GatewayVoiceState, "guild_id">[]
optional
members: APIGuildMember[]
optional
channels: APIChannel[]
optional
presences: GatewayPresenceUpdate[]
optional
max_presences: number | null
optional
max_members: number
vanity_url_code: string | null
description: string | null
banner: string | null
premium_tier: GuildPremiumTier
optional
premium_subscription_count: number
preferred_locale: string
public_updates_channel_id: string | null
optional
max_video_channel_users: number
optional
approximate_member_count: number

Returned by calling GET /guilds/{guild.id} with the query with_counts set to true

optional
approximate_presence_count: number

Returned by calling GET /guilds/{guild.id} with the query with_counts set to true

optional
welcome_screen: APIGuildWelcomeScreen