mirror of
https://github.com/danbulant/discord.js
synced 2026-07-05 11:10:38 +00:00
Webpack build: 3e3de51545
This commit is contained in:
parent
b8030a62b6
commit
92c812518b
1 changed files with 14 additions and 14 deletions
|
|
@ -2563,8 +2563,8 @@ class TextBasedChannel {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send a message to this channel
|
* Send a message to this channel
|
||||||
* @param {StringResolvable} [content] The content to send
|
* @param {StringResolvable} [content] Text for the message
|
||||||
* @param {MessageOptions} [options={}] The options to provide
|
* @param {MessageOptions} [options={}] Options for the message
|
||||||
* @returns {Promise<Message|Message[]>}
|
* @returns {Promise<Message|Message[]>}
|
||||||
* @example
|
* @example
|
||||||
* // send a message
|
* // send a message
|
||||||
|
|
@ -2602,8 +2602,8 @@ class TextBasedChannel {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send a message to this channel
|
* Send a message to this channel
|
||||||
* @param {StringResolvable} content The content to send
|
* @param {StringResolvable} content Text for the message
|
||||||
* @param {MessageOptions} [options={}] The options to provide
|
* @param {MessageOptions} [options={}] Options for the message
|
||||||
* @returns {Promise<Message|Message[]>}
|
* @returns {Promise<Message|Message[]>}
|
||||||
* @example
|
* @example
|
||||||
* // send a message
|
* // send a message
|
||||||
|
|
@ -2617,9 +2617,9 @@ class TextBasedChannel {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send an embed to this channel
|
* Send an embed to this channel
|
||||||
* @param {RichEmbed|Object} embed The embed to send
|
* @param {RichEmbed|Object} embed Embed for the message
|
||||||
* @param {string} [content] Content to send
|
* @param {string} [content] Text for the message
|
||||||
* @param {MessageOptions} [options] The options to provide
|
* @param {MessageOptions} [options] Options for the message
|
||||||
* @returns {Promise<Message>}
|
* @returns {Promise<Message>}
|
||||||
*/
|
*/
|
||||||
sendEmbed(embed, content, options) {
|
sendEmbed(embed, content, options) {
|
||||||
|
|
@ -2634,10 +2634,10 @@ class TextBasedChannel {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send a file to this channel
|
* Send a file to this channel
|
||||||
* @param {BufferResolvable} attachment The file to send
|
* @param {BufferResolvable} attachment File to send
|
||||||
* @param {string} [name='file.jpg'] The name and extension of the file
|
* @param {string} [name='file.jpg'] Name and extension of the file
|
||||||
* @param {StringResolvable} [content] Text message to send with the attachment
|
* @param {StringResolvable} [content] Text for the message
|
||||||
* @param {MessageOptions} [options] The options to provide
|
* @param {MessageOptions} [options] Options for the message
|
||||||
* @returns {Promise<Message>}
|
* @returns {Promise<Message>}
|
||||||
*/
|
*/
|
||||||
sendFile(attachment, name, content, options = {}) {
|
sendFile(attachment, name, content, options = {}) {
|
||||||
|
|
@ -2648,7 +2648,7 @@ class TextBasedChannel {
|
||||||
* Send a code block to this channel
|
* Send a code block to this channel
|
||||||
* @param {string} lang Language for the code block
|
* @param {string} lang Language for the code block
|
||||||
* @param {StringResolvable} content Content of the code block
|
* @param {StringResolvable} content Content of the code block
|
||||||
* @param {MessageOptions} [options] The options to provide
|
* @param {MessageOptions} [options] Options for the message
|
||||||
* @returns {Promise<Message|Message[]>}
|
* @returns {Promise<Message|Message[]>}
|
||||||
*/
|
*/
|
||||||
sendCode(lang, content, options = {}) {
|
sendCode(lang, content, options = {}) {
|
||||||
|
|
@ -2658,7 +2658,7 @@ class TextBasedChannel {
|
||||||
/**
|
/**
|
||||||
* Gets a single message from this channel, regardless of it being cached or not.
|
* Gets a single message from this channel, regardless of it being cached or not.
|
||||||
* <warn>This is only available when using a bot account.</warn>
|
* <warn>This is only available when using a bot account.</warn>
|
||||||
* @param {string} messageID The ID of the message to get
|
* @param {string} messageID ID of the message to get
|
||||||
* @returns {Promise<Message>}
|
* @returns {Promise<Message>}
|
||||||
* @example
|
* @example
|
||||||
* // get message
|
* // get message
|
||||||
|
|
@ -2686,7 +2686,7 @@ class TextBasedChannel {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the past messages sent in this channel. Resolves with a collection mapping message ID's to Message objects.
|
* Gets the past messages sent in this channel. Resolves with a collection mapping message ID's to Message objects.
|
||||||
* @param {ChannelLogsQueryOptions} [options={}] The query parameters to pass in
|
* @param {ChannelLogsQueryOptions} [options={}] Query parameters to pass in
|
||||||
* @returns {Promise<Collection<string, Message>>}
|
* @returns {Promise<Collection<string, Message>>}
|
||||||
* @example
|
* @example
|
||||||
* // get messages
|
* // get messages
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue