Hierarchy

Constructors

  • Parameters

    • Optional client: Client
    • Optional source: Partial<{
          colour?: string;
          description?: string;
          icon_url?: string;
          media?: {
              _id: string;
              content_type: string;
              deleted?: boolean;
              filename: string;
              message_id?: string;
              metadata: {
                  type: "File";
              } | {
                  type: "Text";
              } | {
                  height: number;
                  type: "Image";
                  width: number;
              } | {
                  height: number;
                  type: "Video";
                  width: number;
              } | {
                  type: "Audio";
              };
              object_id?: string;
              reported?: boolean;
              server_id?: string;
              size: number;
              tag: string;
              user_id?: string;
          };
          title?: string;
          type: "Text";
          url?: string;
      } & {
          type: "Text";
      }>

    Returns Embed

Properties

client?: Client
color?: string
description?: string
iconURL?: string
media?: Attachment
title?: string
url?: string

Accessors

Methods

  • Returns {
        colour?: string;
        description?: string;
        icon_url?: string;
        media?: string;
        title?: string;
        url?: string;
    }

    • Optional colour?: string
    • Optional description?: string
    • Optional icon_url?: string
    • Optional media?: string
    • Optional title?: string
    • Optional url?: string