mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 02:23:31 +01:00
feat(MessageEmbed): change toJSON method to return an api-compatible object (#3813)
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user