Webpack build for branch 11.3-dev: e978253896

This commit is contained in:
Travis CI 2018-01-24 20:06:16 +00:00
parent ff572cf7d9
commit ce0e34e6df
2 changed files with 6 additions and 3 deletions

View file

@ -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);
} }
}); });
} }

File diff suppressed because one or more lines are too long