mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
docs: remove traces of StringResolvable (#5727)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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}
|
||||
*/
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user