Skip to content

Commit

Permalink
docs(WebhookMessageOptions): add 'content' prop
Browse files Browse the repository at this point in the history
  • Loading branch information
izexi committed Jan 22, 2021
1 parent cca8632 commit 899abe3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/structures/Webhook.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ class Webhook {
* @property {string} [username=this.name] Username override for the message
* @property {string} [avatarURL] Avatar URL override for the message
* @property {boolean} [tts=false] Whether or not the message should be spoken aloud
* @property {string} [content=''] The content for the message
* @property {string} [nonce=''] The nonce for the message
* @property {Object[]} [embeds] An array of embeds for the message
* @property {MessageMentionOptions} [allowedMentions] Which mentions should be parsed from the message content
Expand Down Expand Up @@ -221,6 +222,7 @@ class Webhook {
* @param {MessageResolvable} message The message to edit
* @param {StringResolvable} [content] The new content for the message
* @param {Object} [options] The options to provide
* @property {string} [options.content] The new content for the message
* @param {MessageMentionOptions} [options.allowedMentions] Which mentions should be parsed from the message content
* @property {MessageEmbed[]|Object[]} [options.embeds] An array of embeds for the message
* @returns {Promise<Message|Object>} Returns the raw message data if the webhook was instantiated as a
Expand Down

0 comments on commit 899abe3

Please sign in to comment.