docs(MessageEditOptions): add the flags parameter (#5126)

This commit is contained in:
ckohen
2020-12-26 01:58:02 -08:00
committed by GitHub
parent 2a0dcc5cae
commit 2aea7dd921

View File

@@ -465,6 +465,7 @@ class Message extends Base {
* @property {MessageEmbed|Object} [embed] An embed to be added/edited * @property {MessageEmbed|Object} [embed] An embed to be added/edited
* @property {string|boolean} [code] Language for optional codeblock formatting to apply * @property {string|boolean} [code] Language for optional codeblock formatting to apply
* @property {MessageMentionOptions} [allowedMentions] Which mentions should be parsed from the message content * @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.
*/ */
/** /**
@@ -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 * @param {boolean} [suppress=true] If the embeds should be suppressed or not
* @returns {Promise<Message>} * @returns {Promise<Message>}
*/ */