Represents a Guild Group.

Hierarchy (view full)

Constructors

  • Parameters

    • data: {
          archivedAt?: string;
          archivedBy?: string;
          avatar?: string;
          createdAt: string;
          createdBy: string;
          description?: string;
          emoteId?: number;
          id: string;
          isHome?: boolean;
          isPublic: boolean;
          name: string;
          serverId: string;
          updatedAt?: string;
          updatedBy?: string;
      }
      • OptionalarchivedAt?: string

        Archived at Format: date-time

        The ISO 8601 timestamp that the group was archived at, if relevant

      • OptionalarchivedBy?: string

        Archived by

        The ID of the user who archived this group

      • Optionalavatar?: string

        Avatar Format: media-uri

        The avatar image associated with the group

      • createdAt: string

        Created at Format: date-time

        The ISO 8601 timestamp that the group was created at

      • createdBy: string

        Created by

        The ID of the user who created this group

      • Optionaldescription?: string

        Description

        The description associated with the group

      • OptionalemoteId?: number

        The emote to associate with the group

      • id: string

        Group ID

        The ID of the group

      • OptionalisHome?: boolean

        Is home

        If true, this is the server's home group

      • isPublic: boolean

        Is public

        Is this group open for anyone to join?

        false
        
      • name: string

        The name of the group

      • serverId: string

        Server ID

        The ID of the server

      • OptionalupdatedAt?: string

        Updated at Format: date-time

        The ISO 8601 timestamp that the group was updated at, if relevant

      • OptionalupdatedBy?: string

        Updated by

        The ID of the user who updated this group

    • client: Client

    Returns Group

Properties

archivedAt: null | Date

Date of when the group was archived, if archived.

archivedBy: null | string

The ID of the user who archived this group, if archived.

avatarURL: null | string

The avatar image associated with the group

client: Client

App's client.

createdAt: Date

The ISO 8601 timestamp that the group was created at

createdBy: string

The ID of the user who created this group

description: null | string

The group description.

editedTimestamp: null | Date

The date when the group was updated, if edited.

emoteID: null | number

The emote to associate with the group

guildID: string

ID of the guild

id: string

Item ID

isHome: boolean

If true, this is the server's home group

isPublic: boolean

Is this group open for anyone to join?

name: string

The group's name (min length 1; max length 80)

updatedBy: null | string

The ID of the user who updated this group, if edited.

Methods