mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
typings(RichEmbed): add MessageEmbed as valid data in constructor
See #2970
This commit is contained in:
parent
691aaef07e
commit
351f0a32bf
1 changed files with 1 additions and 1 deletions
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; };
|
||||
|
|
|
|||
Loading…
Reference in a new issue