Skip to content

Commit

Permalink
docs(MessageEditOptions): add the flags parameter (#5126)
Browse files Browse the repository at this point in the history
  • Loading branch information
ckohen authored Dec 26, 2020
1 parent 2a0dcc5 commit 2aea7dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/structures/Message.js
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ class Message extends Base {
* @property {MessageEmbed|Object} [embed] An embed to be added/edited
* @property {string|boolean} [code] Language for optional codeblock formatting to apply
* @property {MessageMentionOptions} [allowedMentions] Which mentions should be parsed from the message content
* @property {MessageFlags} [flags] Which flags to set for the message. Only `SUPPRESS_EMBEDS` can be edited.
*/

/**
Expand Down Expand Up @@ -627,7 +628,7 @@ class Message extends Base {
}

/**
* Suppresses or unsuppresses embeds on a message
* Suppresses or unsuppresses embeds on a message.
* @param {boolean} [suppress=true] If the embeds should be suppressed or not
* @returns {Promise<Message>}
*/
Expand Down

0 comments on commit 2aea7dd

Please sign in to comment.