diff --git a/typings/index.d.ts b/typings/index.d.ts index 832e63b..fee26d0 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1761,7 +1761,7 @@ export class MessageEmbed { } export class WebEmbed { - public constructor(data?: MessageEmbed | MessageEmbedOptions | APIEmbed); + public constructor(data?: WebEmbed | WebEmbedOptions); public author: MessageEmbedAuthor | null; public color: number | null; public description: string | null; @@ -5172,6 +5172,23 @@ export interface MessageEmbedImage { width?: number; } + +export interface WebEmbedOptions { + shorten?: boolean; + hidden?: boolean; + title?: string; + description?: string; + url?: string; + timestamp?: Date | number; + color?: ColorResolvable; + fields?: EmbedFieldData[]; + author?: Partial & { icon_url?: string; proxy_icon_url?: string }; + thumbnail?: Partial & { proxy_url?: string }; + image?: Partial & { proxy_url?: string }; + video?: Partial & { proxy_url?: string }; + footer?: Partial & { icon_url?: string; proxy_icon_url?: string }; +} + export interface MessageEmbedOptions { title?: string; description?: string;