mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +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 {
|
||||
constructor(data?: RichEmbedOptions);
|
||||
constructor(data?: RichEmbedOptions | MessageEmbed);
|
||||
private _apiTransform(): object;
|
||||
|
||||
public author?: { name: string; url?: string; icon_url?: string; };
|
||||
|
||||
Reference in New Issue
Block a user