mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33: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:
@@ -365,7 +365,7 @@ class Message extends Base {
|
||||
|
||||
/**
|
||||
* Edits the content of the message.
|
||||
* @param {StringResolvable|APIMessage} [content=''] The new content for the message
|
||||
* @param {StringResolvable|APIMessage} [content] The new content for the message
|
||||
* @param {MessageEditOptions|MessageEmbed} [options] The options to provide
|
||||
* @returns {Promise<Message>}
|
||||
* @example
|
||||
|
||||
Reference in New Issue
Block a user