Webpack build for branch 11.3-dev: 2b24b10246

This commit is contained in:
Travis CI 2018-02-27 17:18:45 +00:00
parent e7937fe2d2
commit 5cc3eccdf4

View file

@ -5449,7 +5449,7 @@ class TextBasedChannel {
* @example * @example
* // Send a remote file * // Send a remote file
* channel.send({ * channel.send({
* files: ['https://cdn.discordapp.com/icons/222078108977594368/6e1019b3179d71046e463a75915e7244.png?size=2048'] * files: ['https://cdn.discordapp.com/icons/222078108977594368/6e1019b3179d71046e463a75915e7244.png?size=2048'],
* }) * })
* .then(console.log) * .then(console.log)
* .catch(console.error); * .catch(console.error);
@ -5458,8 +5458,8 @@ class TextBasedChannel {
* channel.send({ * channel.send({
* files: [{ * files: [{
* attachment: 'entire/path/to/file.jpg', * attachment: 'entire/path/to/file.jpg',
* name: 'file.jpg' * name: 'file.jpg',
* }] * }],
* }) * })
* .then(console.log) * .then(console.log)
* .catch(console.error); * .catch(console.error);
@ -5468,13 +5468,13 @@ class TextBasedChannel {
* channel.send('This is an embed', { * channel.send('This is an embed', {
* embed: { * embed: {
* thumbnail: { * thumbnail: {
* url: 'attachment://file.jpg' * url: 'attachment://file.jpg',
* } * },
* }, * },
* files: [{ * files: [{
* attachment: 'entire/path/to/file.jpg', * attachment: 'entire/path/to/file.jpg',
* name: 'file.jpg' * name: 'file.jpg',
* }] * }],
* }) * })
* .then(console.log) * .then(console.log)
* .catch(console.error); * .catch(console.error);
@ -7129,7 +7129,7 @@ class GuildMember {
* // Set a member's nickname and clear their roles * // Set a member's nickname and clear their roles
* message.member.edit({ * message.member.edit({
* nick: 'Cool Name', * nick: 'Cool Name',
* roles: [] * roles: [],
* }) * })
* .then(console.log) * .then(console.log)
* .catch(console.error); * .catch(console.error);
@ -8943,7 +8943,7 @@ class Guild {
* @param {string|number} [options.type] Only show entries involving this action type * @param {string|number} [options.type] Only show entries involving this action type
* @returns {Promise<GuildAuditLogs>} * @returns {Promise<GuildAuditLogs>}
* @example * @example
* // Output audit log entries * // Output an audit log entry
* guild.fetchAuditLogs() * guild.fetchAuditLogs()
* .then(audit => console.log(audit.entries.first())) * .then(audit => console.log(audit.entries.first()))
* .catch(console.error); * .catch(console.error);
@ -9039,7 +9039,7 @@ class Guild {
* @example * @example
* guild.search({ * guild.search({
* content: 'discord.js', * content: 'discord.js',
* before: '2016-11-17' * before: '2016-11-17',
* }) * })
* .then(res => { * .then(res => {
* const hit = res.messages[0].find(m => m.hit).content; * const hit = res.messages[0].find(m => m.hit).content;
@ -9831,7 +9831,7 @@ class Webhook {
* @example * @example
* // Send a remote file * // Send a remote file
* webhook.send({ * webhook.send({
* files: ['https://cdn.discordapp.com/icons/222078108977594368/6e1019b3179d71046e463a75915e7244.png?size=2048'] * files: ['https://cdn.discordapp.com/icons/222078108977594368/6e1019b3179d71046e463a75915e7244.png?size=2048'],
* }) * })
* .then(console.log) * .then(console.log)
* .catch(console.error); * .catch(console.error);
@ -9840,8 +9840,8 @@ class Webhook {
* webhook.send({ * webhook.send({
* files: [{ * files: [{
* attachment: 'entire/path/to/file.jpg', * attachment: 'entire/path/to/file.jpg',
* name: 'file.jpg' * name: 'file.jpg',
* }] * }],
* }) * })
* .then(console.log) * .then(console.log)
* .catch(console.error); * .catch(console.error);
@ -9851,12 +9851,12 @@ class Webhook {
* embeds: [{ * embeds: [{
* thumbnail: { * thumbnail: {
* url: 'attachment://file.jpg' * url: 'attachment://file.jpg'
* } * },
* }], * }],
* files: [{ * files: [{
* attachment: 'entire/path/to/file.jpg', * attachment: 'entire/path/to/file.jpg',
* name: 'file.jpg' * name: 'file.jpg',
* }] * }],
* }) * })
* .then(console.log) * .then(console.log)
* .catch(console.error); * .catch(console.error);
@ -15777,7 +15777,7 @@ class ClientUser extends User {
* // Create a Group DM with a token provided from OAuth * // Create a Group DM with a token provided from OAuth
* client.user.createGroupDM([{ * client.user.createGroupDM([{
* user: '66564597481480192', * user: '66564597481480192',
* accessToken: token * accessToken: token,
* }]) * }])
* .then(console.log) * .then(console.log)
* .catch(console.error); * .catch(console.error);