feat(MessageEmbed): change toJSON method to return an api-compatible object (#3813)

This commit is contained in:
SpaceEEC
2020-02-23 20:42:47 +01:00
committed by GitHub
parent b727f6c1b9
commit 4ec01ddef5
3 changed files with 3 additions and 10 deletions

2
typings/index.d.ts vendored
View File

@@ -1051,8 +1051,6 @@ declare module 'discord.js' {
export class MessageEmbed {
constructor(data?: MessageEmbed | MessageEmbedOptions);
private _apiTransform(): MessageEmbedOptions;
public author: { name?: string; url?: string; iconURL?: string; proxyIconURL?: string } | null;
public color: number;
public readonly createdAt: Date | null;