new MessageEmbed
src/structures/messageembed.ts:80new MessageEmbed(client: ShardClient, data?: BaseStructureData, isClone?: boolean)Embed Structure, used for [Message] Structures
Embed Structure, used for [Message] Structures
import { Structures } from 'detritus-client';
Structures.MessageEmbed;new MessageEmbed(client: ShardClient, data?: BaseStructureData, isClone?: boolean)The finished poll's outcome on poll_result embeds, discord sends it as named fields with string values
_getFromSnake(key: string): any_setFromSnake(key: string, value: any): any[custom](): objectclone(): thisdifference(key: string, value: any): [boolean, any]differences(data?: BaseStructureData): object | nulldifferencesBetween(structure: Structure): object | nullfetchApplicationNews(): Promise<ApplicationNews>getFieldValue(name: string): string | undefinedThe value of the first field with this name system embeds (automod alerts, poll results) store their data in fields, see the MessageEmbed*Fields enums for the names
hasDifference(key: string, value: any): booleanhasDifferences(data?: BaseStructureData): booleanhasDifferencesBetween(structure: Structure): booleanhasFlag(flag: number): booleanmerge(data?: BaseStructureData): voidmergeValue(key: string, value: any): voidtoJSON(): object