mirror of
https://github.com/danbulant/discord.js
synced 2026-06-24 17:21:59 +00:00
Webpack build for branch 11.3-dev: e978253896
This commit is contained in:
parent
ff572cf7d9
commit
ce0e34e6df
2 changed files with 6 additions and 3 deletions
|
|
@ -9672,7 +9672,7 @@ class Webhook {
|
||||||
* @param {StringResolvable} content The content to send
|
* @param {StringResolvable} content The content to send
|
||||||
* @param {WebhookMessageOptions|Attachment|RichEmbed} [options] The options to provide
|
* @param {WebhookMessageOptions|Attachment|RichEmbed} [options] The options to provide
|
||||||
* can also be just a RichEmbed or Attachment
|
* can also be just a RichEmbed or Attachment
|
||||||
* @returns {Promise<Message|Message[]>}
|
* @returns {Promise<Message|Message[]|Object|Object[]>}
|
||||||
* @example
|
* @example
|
||||||
* // Send a message
|
* // Send a message
|
||||||
* webhook.send('hello!')
|
* webhook.send('hello!')
|
||||||
|
|
@ -17964,7 +17964,10 @@ class RESTMethods {
|
||||||
content,
|
content,
|
||||||
tts,
|
tts,
|
||||||
embeds,
|
embeds,
|
||||||
}, files).then(resolve, reject);
|
}, files).then(data => {
|
||||||
|
if (!this.client.channels) resolve(data);
|
||||||
|
else resolve(this.client.actions.MessageCreate.handle(data).message);
|
||||||
|
}, reject);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2
discord.11.3-dev.min.js
vendored
2
discord.11.3-dev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue