Update index.d.ts
This commit is contained in:
parent
91a717b635
commit
dd372a2dd3
19
typings/index.d.ts
vendored
19
typings/index.d.ts
vendored
@ -1761,7 +1761,7 @@ export class MessageEmbed {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export class WebEmbed {
|
export class WebEmbed {
|
||||||
public constructor(data?: MessageEmbed | MessageEmbedOptions | APIEmbed);
|
public constructor(data?: WebEmbed | WebEmbedOptions);
|
||||||
public author: MessageEmbedAuthor | null;
|
public author: MessageEmbedAuthor | null;
|
||||||
public color: number | null;
|
public color: number | null;
|
||||||
public description: string | null;
|
public description: string | null;
|
||||||
@ -5172,6 +5172,23 @@ export interface MessageEmbedImage {
|
|||||||
width?: number;
|
width?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
export interface WebEmbedOptions {
|
||||||
|
shorten?: boolean;
|
||||||
|
hidden?: boolean;
|
||||||
|
title?: string;
|
||||||
|
description?: string;
|
||||||
|
url?: string;
|
||||||
|
timestamp?: Date | number;
|
||||||
|
color?: ColorResolvable;
|
||||||
|
fields?: EmbedFieldData[];
|
||||||
|
author?: Partial<MessageEmbedAuthor> & { icon_url?: string; proxy_icon_url?: string };
|
||||||
|
thumbnail?: Partial<MessageEmbedThumbnail> & { proxy_url?: string };
|
||||||
|
image?: Partial<MessageEmbedImage> & { proxy_url?: string };
|
||||||
|
video?: Partial<MessageEmbedVideo> & { proxy_url?: string };
|
||||||
|
footer?: Partial<MessageEmbedFooter> & { icon_url?: string; proxy_icon_url?: string };
|
||||||
|
}
|
||||||
|
|
||||||
export interface MessageEmbedOptions {
|
export interface MessageEmbedOptions {
|
||||||
title?: string;
|
title?: string;
|
||||||
description?: string;
|
description?: string;
|
||||||
|
Loading…
Reference in New Issue
Block a user