seyfert
    Preparing search index...

    Class GuildPreview

    Represent Discord Guild Preview Object

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    banner?: null | string
    client: UsingClient
    description?: null | string
    features?: GuildFeature[]
    icon: null | string
    id: string
    name: string
    splash: null | string
    vanityUrlCode?: null | string
    verificationLevel?: GuildVerificationLevel
    welcomeScreen?: {
        description: null | string;
        welcomeChannels: {
            channelId: string;
            description: string;
            emojiId: null | string;
            emojiName: null | string;
        }[];
    }

    Accessors

    • get shard(): undefined | Shard

      Shard of the guild.

      Returns undefined | Shard

      Shard or undefined, if the client is not gateway based always undefined.

    • get shardId(): number

      Shard ID of the guild.

      Returns number

      Shard ID or -1 if the client is not gateway based.

    Methods