Interface JSONGuild

interface JSONGuild {
    afkChannelID: null | string;
    afkTimeout: number;
    application?: string;
    approximateMemberCount?: number;
    approximatePresenceCount?: number;
    autoModerationRules: JSONAutoModerationRule[];
    banner: null | string;
    channels: string[];
    createdAt: number;
    defaultMessageNotifications: DefaultMessageNotificationLevels;
    description: null | string;
    discoverySplash: null | string;
    emojis: GuildEmoji[];
    explicitContentFilter: ExplicitContentFilterLevels;
    features: ("ACTIVITIES_ALPHA" | "ACTIVITIES_EMPLOYEE" | "ACTIVITIES_INTERNAL_DEV" | "ANIMATED_BANNER" | "ANIMATED_ICON" | "APPLICATION_COMMAND_PERMISSIONS_V2" | "AUTO_MODERATION" | "AUTOMOD_TRIGGER_USER_PROFILE" | "BANNER" | "BOT_DEVELOPER_EARLY_ACCESS" | "BURST_REACTIONS" | "CHANNEL_HIGHLIGHTS_DISABLED" | "CHANNEL_HIGHLIGHTS" | "CHANNEL_ICON_EMOJIS_GENERATED" | "CLYDE_DISABLED" | "CLYDE_ENABLED" | "CLYDE_EXPERIMENT_ENABLED" | "COMMERCE" | "COMMUNITY_CANARY" | "COMMUNITY_EXP_LARGE_GATED" | "COMMUNITY_EXP_LARGE_UNGATED" | "COMMUNITY_EXP_MEDIUM" | "COMMUNITY" | "CREATOR_ACCEPTED_NEW_TERMS" | "CREATOR_MONETIZABLE_DISABLED" | "CREATOR_MONETIZABLE_PENDING_NEW_OWNER_ONBOARDING" | "CREATOR_MONETIZABLE_PROVISIONAL" | "CREATOR_MONETIZABLE_RESTRICTED" | "CREATOR_MONETIZABLE_WHITEGLOVE" | "CREATOR_MONETIZABLE" | "CREATOR_STORE_PAGE" | "DEVELOPER_SUPPORT_SERVER" | "DISCOVERABLE_DISABLED" | "DISCOVERABLE" | "ENABLED_DISCOVERABLE_BEFORE" | "ENABLED_MODERATION_EXPERIENCE_FOR_NON_COMMUNITY" | "EXPOSED_TO_ACTIVITIES_WTP_EXPERIMENT" | "FEATURABLE" | "GUESTS_ENABLED" | "GUILD_HOME_DEPRECATION_OVERRIDE" | "GUILD_HOME_OVERRIDE" | "GUILD_HOME_TEST" | "GUILD_ONBOARDING_EVER_ENABLED" | "GUILD_ONBOARDING_HAS_PROMPTS" | "GUILD_ONBOARDING" | "GUILD_ROLE_SUBSCRIPTION_TIER_TEMPLATE" | "GUILD_SERVER_GUIDE" | "GUILD_WEB_PAGE_VANITY_URL" | "HAD_EARLY_ACTIVITIES_ACCESS" | "HAS_DIRECTORY_ENTRY" | "HUB" | "INCREASED_THREAD_LIMIT" | "INTERNAL_EMPLOYEE_ONLY" | "INVITE_SPLASH" | "INVITES_DISABLED" | "LINKED_TO_HUB" | "MARKETPLACES_CONNECTION_ROLES" | "MEMBER_PROFILES" | "MEMBER_SAFETY_PAGE_ROLLOUT" | "MEMBER_VERIFICATION_GATE_ENABLED" | "MONETIZATION_ENABLED" | "MORE_EMOJI" | "MORE_EMOJIS" | "MORE_STICKERS" | "NEW_THREAD_PERMISSIONS" | "NEWS" | "NON_COMMUNITY_RAID_ALERTS" | "PARTNERED" | "PREVIEW_ENABLED" | "PREVIOUSLY_DISCOVERABLE" | "PRIVATE_THREADS" | "PRODUCTS_AVAILABLE_FOR_PURCHASE" | "RAID_ALERTS_DISABLED" | "RAID_ALERTS_ENABLED" | "ROLE_ICONS" | "ROLE_SUBSCRIPTIONS_AVAILABLE_FOR_PURCHASE" | "ROLE_SUBSCRIPTIONS_ENABLED" | "SEVEN_DAY_THREAD_ARCHIVE" | "SHARD" | "SOUNDBOARD" | "SUMMARIES_DISABLED_BY_USER" | "SUMMARIES_ENABLED_BY_USER" | "SUMMARIES_ENABLED_GA" | "SUMMARIES_ENABLED" | "SUMMARIES_OPT_OUT_EXPERIENCE" | "SUMMARIES_PAUSED" | "TEXT_IN_STAGE_ENABLED" | "TEXT_IN_VOICE_ENABLED" | "THREADS_ENABLED_TESTING" | "THREADS_ENABLED" | "THREE_DAY_THREAD_ARCHIVE" | "TICKETED_EVENTS_ENABLED" | "VANITY_URL" | "VERIFIED" | "VIP_REGIONS" | "VOICE_IN_THREADS" | "WELCOME_SCREEN_ENABLED")[];
    icon: null | string;
    id: string;
    incidentActions: null | IncidentActions;
    joinedAt: null | number;
    large: boolean;
    maxMembers?: number;
    maxPresences?: number;
    maxStageVideoChannelUsers?: number;
    maxVideoChannelUsers?: number;
    memberCount: number;
    members: string[];
    mfaLevel: MFALevels;
    name: string;
    nsfwLevel: GuildNSFWLevels;
    ownerID: null | string;
    preferredLocale: string;
    premiumProgressBarEnabled: boolean;
    premiumSubscriptionCount?: number;
    premiumTier: PremiumTiers;
    publicUpdatesChannelID: null | string;
    region?: null | string;
    roles: JSONRole[];
    rulesChannelID: null | string;
    scheduledEvents: JSONScheduledEvent[];
    splash: null | string;
    stageInstances: JSONStageInstance[];
    stickers?: Sticker[];
    systemChannelFlags: number;
    systemChannelID: null | string;
    threads: string[];
    unavailable: boolean;
    vanityURLCode: null | string;
    verificationLevel: VerificationLevels;
    voiceStates: JSONVoiceState[];
    welcomeScreen?: WelcomeScreen;
    widgetChannelID: null | string;
    widgetEnabled?: boolean;
}

Hierarchy (view full)

Properties

afkChannelID: null | string
afkTimeout: number
application?: string
approximateMemberCount?: number
approximatePresenceCount?: number
autoModerationRules: JSONAutoModerationRule[]
banner: null | string
channels: string[]
createdAt: number
defaultMessageNotifications: DefaultMessageNotificationLevels
description: null | string
discoverySplash: null | string
emojis: GuildEmoji[]
explicitContentFilter: ExplicitContentFilterLevels
features: ("ACTIVITIES_ALPHA" | "ACTIVITIES_EMPLOYEE" | "ACTIVITIES_INTERNAL_DEV" | "ANIMATED_BANNER" | "ANIMATED_ICON" | "APPLICATION_COMMAND_PERMISSIONS_V2" | "AUTO_MODERATION" | "AUTOMOD_TRIGGER_USER_PROFILE" | "BANNER" | "BOT_DEVELOPER_EARLY_ACCESS" | "BURST_REACTIONS" | "CHANNEL_HIGHLIGHTS_DISABLED" | "CHANNEL_HIGHLIGHTS" | "CHANNEL_ICON_EMOJIS_GENERATED" | "CLYDE_DISABLED" | "CLYDE_ENABLED" | "CLYDE_EXPERIMENT_ENABLED" | "COMMERCE" | "COMMUNITY_CANARY" | "COMMUNITY_EXP_LARGE_GATED" | "COMMUNITY_EXP_LARGE_UNGATED" | "COMMUNITY_EXP_MEDIUM" | "COMMUNITY" | "CREATOR_ACCEPTED_NEW_TERMS" | "CREATOR_MONETIZABLE_DISABLED" | "CREATOR_MONETIZABLE_PENDING_NEW_OWNER_ONBOARDING" | "CREATOR_MONETIZABLE_PROVISIONAL" | "CREATOR_MONETIZABLE_RESTRICTED" | "CREATOR_MONETIZABLE_WHITEGLOVE" | "CREATOR_MONETIZABLE" | "CREATOR_STORE_PAGE" | "DEVELOPER_SUPPORT_SERVER" | "DISCOVERABLE_DISABLED" | "DISCOVERABLE" | "ENABLED_DISCOVERABLE_BEFORE" | "ENABLED_MODERATION_EXPERIENCE_FOR_NON_COMMUNITY" | "EXPOSED_TO_ACTIVITIES_WTP_EXPERIMENT" | "FEATURABLE" | "GUESTS_ENABLED" | "GUILD_HOME_DEPRECATION_OVERRIDE" | "GUILD_HOME_OVERRIDE" | "GUILD_HOME_TEST" | "GUILD_ONBOARDING_EVER_ENABLED" | "GUILD_ONBOARDING_HAS_PROMPTS" | "GUILD_ONBOARDING" | "GUILD_ROLE_SUBSCRIPTION_TIER_TEMPLATE" | "GUILD_SERVER_GUIDE" | "GUILD_WEB_PAGE_VANITY_URL" | "HAD_EARLY_ACTIVITIES_ACCESS" | "HAS_DIRECTORY_ENTRY" | "HUB" | "INCREASED_THREAD_LIMIT" | "INTERNAL_EMPLOYEE_ONLY" | "INVITE_SPLASH" | "INVITES_DISABLED" | "LINKED_TO_HUB" | "MARKETPLACES_CONNECTION_ROLES" | "MEMBER_PROFILES" | "MEMBER_SAFETY_PAGE_ROLLOUT" | "MEMBER_VERIFICATION_GATE_ENABLED" | "MONETIZATION_ENABLED" | "MORE_EMOJI" | "MORE_EMOJIS" | "MORE_STICKERS" | "NEW_THREAD_PERMISSIONS" | "NEWS" | "NON_COMMUNITY_RAID_ALERTS" | "PARTNERED" | "PREVIEW_ENABLED" | "PREVIOUSLY_DISCOVERABLE" | "PRIVATE_THREADS" | "PRODUCTS_AVAILABLE_FOR_PURCHASE" | "RAID_ALERTS_DISABLED" | "RAID_ALERTS_ENABLED" | "ROLE_ICONS" | "ROLE_SUBSCRIPTIONS_AVAILABLE_FOR_PURCHASE" | "ROLE_SUBSCRIPTIONS_ENABLED" | "SEVEN_DAY_THREAD_ARCHIVE" | "SHARD" | "SOUNDBOARD" | "SUMMARIES_DISABLED_BY_USER" | "SUMMARIES_ENABLED_BY_USER" | "SUMMARIES_ENABLED_GA" | "SUMMARIES_ENABLED" | "SUMMARIES_OPT_OUT_EXPERIENCE" | "SUMMARIES_PAUSED" | "TEXT_IN_STAGE_ENABLED" | "TEXT_IN_VOICE_ENABLED" | "THREADS_ENABLED_TESTING" | "THREADS_ENABLED" | "THREE_DAY_THREAD_ARCHIVE" | "TICKETED_EVENTS_ENABLED" | "VANITY_URL" | "VERIFIED" | "VIP_REGIONS" | "VOICE_IN_THREADS" | "WELCOME_SCREEN_ENABLED")[]
icon: null | string
id: string
incidentActions: null | IncidentActions
joinedAt: null | number
large: boolean
maxMembers?: number
maxPresences?: number
maxStageVideoChannelUsers?: number
maxVideoChannelUsers?: number
memberCount: number
members: string[]
mfaLevel: MFALevels
name: string
nsfwLevel: GuildNSFWLevels
ownerID: null | string
preferredLocale: string
premiumProgressBarEnabled: boolean
premiumSubscriptionCount?: number
premiumTier: PremiumTiers
publicUpdatesChannelID: null | string
region?: null | string
roles: JSONRole[]
rulesChannelID: null | string
scheduledEvents: JSONScheduledEvent[]
splash: null | string
stageInstances: JSONStageInstance[]
stickers?: Sticker[]
systemChannelFlags: number
systemChannelID: null | string
threads: string[]
unavailable: boolean
vanityURLCode: null | string
verificationLevel: VerificationLevels
voiceStates: JSONVoiceState[]
welcomeScreen?: WelcomeScreen
widgetChannelID: null | string
widgetEnabled?: boolean