import { Embed } from "https://deno.land/x/harmony@v2.9.1/deploy.ts";
Message Embed Object
Constructors
new
Embed(data?: EmbedPayload)Properties
optional
author: EmbedAuthoroptional
fields: EmbedField[]files: MessageAttachment[]
optional
image: EmbedImageoptional
provider: EmbedProvideroptional
thumbnail: EmbedThumbnailoptional
type: EmbedTypesoptional
video: EmbedVideoMethods
attach(...files: MessageAttachment[]): Embed
setFields(fields: EmbedField[]): Embed
setProvider(provider: EmbedProvider): Embed
setTimestamp(unixTimestamp: number): Embed
setTimestamp(dateObject: Date): Embed