mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
feat(RichEmbed): add toJSON returning an api-compatible object
This backports:
PR: https://github.com/discordjs/discord.js/pull/3813
Commit: 4ec01ddef5
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -1120,8 +1120,6 @@ declare module 'discord.js' {
|
||||
|
||||
export class RichEmbed {
|
||||
constructor(data?: RichEmbedOptions | MessageEmbed);
|
||||
private _apiTransform(): object;
|
||||
|
||||
public author?: { name: string; url?: string; icon_url?: string; };
|
||||
public color?: number;
|
||||
public description?: string;
|
||||
|
||||
Reference in New Issue
Block a user