Type alias UpdateGuildData

UpdateGuildData: {
    afk_channel_id?: string | null;
    afk_timeout?: number;
    banner?: string | null;
    default_message_notifications?: MessageNotificationLevel | null;
    description?: string | null;
    discovery_splash?: string | null;
    explicit_content_filter?: ExplicitContentFilterLevel | null;
    features?: GuildFeature[];
    icon?: string | null;
    name?: string;
    owner_id?: string;
    preferred_locale?: Locale | null;
    premium_progress_bar_enabled?: boolean;
    public_updates_channel_id?: string | null;
    reason?: string;
    rules_channel_id?: string | null;
    splash?: string | null;
    system_channel_flags?: number;
    system_channel_id?: string | null;
    verification_level?: VerificationLevel | null;
}

Type declaration

  • Optional afk_channel_id?: string | null

    Id of the afk channel

  • Optional afk_timeout?: number

    afk timeout in seconds

  • Optional banner?: string | null

    base64 image for the guild banner

  • Optional default_message_notifications?: MessageNotificationLevel | null
  • Optional description?: string | null

    the description for the guild

  • Optional discovery_splash?: string | null

    base64 image for the guild discovery splash

  • Optional explicit_content_filter?: ExplicitContentFilterLevel | null

    explicit content filter level

  • Optional features?: GuildFeature[]

    enabled guild features

  • Optional icon?: string | null

    base64 image for the guild icon

  • Optional name?: string

    name of the guild

  • Optional owner_id?: string

    Id of the owner user

  • Optional preferred_locale?: Locale | null

    the preferred locale of a Community guild used in server discovery and notices from Discord; defaults to "en-US"

  • Optional premium_progress_bar_enabled?: boolean

    whether the guild's boost progress bar should be enabled

  • Optional public_updates_channel_id?: string | null

    the id of the channel where admins and moderators of Community guilds receive notices from Discord

  • Optional reason?: string

    reason for updating the guild

  • Optional rules_channel_id?: string | null

    the id of the channel where Community guilds display rules and/or guidelines

  • Optional splash?: string | null

    base64 image for the guild splash

  • Optional system_channel_flags?: number

    system channel flags

  • Optional system_channel_id?: string | null

    the id of the channel where guild notices such as welcome messages and boost events are posted

  • Optional verification_level?: VerificationLevel | null

Generated using TypeDoc