Skip to content

Commit

Permalink
docs: remove traces of StringResolvable (#5727)
Browse files Browse the repository at this point in the history
  • Loading branch information
iShibi committed Jun 2, 2021
1 parent 086c3f0 commit 678b7da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/structures/Message.js
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ class Message extends Base {

/**
* Send an inline reply to this message.
* @param {StringResolvable|APIMessage} [content=''] The content for the message
* @param {string|APIMessage} [content=''] The content for the message
* @param {ReplyMessageOptions|MessageAdditions} [options] The additional options to provide
* @returns {Promise<Message|Message[]>}
* @example
Expand Down
4 changes: 2 additions & 2 deletions src/structures/Webhook.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class Webhook {
* Options that can be passed into editMessage.
* @typedef {Object} WebhookEditMessageOptions
* @property {MessageEmbed[]|Object[]} [embeds] See {@link WebhookMessageOptions#embeds}
* @property {StringResolvable} [content] See {@link BaseMessageOptions#content}
* @property {string} [content] See {@link BaseMessageOptions#content}
* @property {FileOptions[]|BufferResolvable[]|MessageAttachment[]} [files] See {@link BaseMessageOptions#files}
* @property {MessageMentionOptions} [allowedMentions] See {@link BaseMessageOptions#allowedMentions}
*/
Expand Down Expand Up @@ -242,7 +242,7 @@ class Webhook {
/**
* Edits a message that was sent by this webhook.
* @param {MessageResolvable|'@original'} message The message to edit
* @param {StringResolvable|APIMessage} [content] The new content for the message
* @param {string|APIMessage} [content] The new content for the message
* @param {WebhookEditMessageOptions|MessageAdditions} [options] The options to provide
* @returns {Promise<Message|Object>} Returns the raw message data if the webhook was instantiated as a
* {@link WebhookClient} or if the channel is uncached, otherwise a {@link Message} will be returned
Expand Down

0 comments on commit 678b7da

Please sign in to comment.