mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 01:53:30 +01:00
fix(APIMessage): edit shouldn't remove content (#3129)
* edit shouldn't remove content If undefined is passed to the api, content isn't removed in such a case where you are only editing the embed. * fix a related doc string * update typings * requested changes
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -56,7 +56,7 @@ declare module 'discord.js' {
|
||||
isWebhook?: boolean
|
||||
): MessageOptions | WebhookMessageOptions;
|
||||
|
||||
public makeContent(): string | string[];
|
||||
public makeContent(): string | string[] | undefined;
|
||||
public resolve(): Promise<this>;
|
||||
public resolveData(): this;
|
||||
public resolveFiles(): Promise<this>;
|
||||
|
||||
Reference in New Issue
Block a user