mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +01:00
typings(RichEmbed): add MessageEmbed as valid data in constructor
See #2970
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -1003,7 +1003,7 @@ declare module 'discord.js' {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export class RichEmbed {
|
export class RichEmbed {
|
||||||
constructor(data?: RichEmbedOptions);
|
constructor(data?: RichEmbedOptions | MessageEmbed);
|
||||||
private _apiTransform(): object;
|
private _apiTransform(): object;
|
||||||
|
|
||||||
public author?: { name: string; url?: string; icon_url?: string; };
|
public author?: { name: string; url?: string; icon_url?: string; };
|
||||||
|
|||||||
Reference in New Issue
Block a user