Webpack build for branch master: abb93c9eb9

This commit is contained in:
Travis CI 2018-01-04 00:04:41 +00:00
parent 33c77bfeb2
commit db27acbd21
2 changed files with 12 additions and 12 deletions

View file

@ -3103,6 +3103,17 @@ class Channel extends Base {
return new Date(this.createdTimestamp);
}
/**
* When concatenated with a string, this automatically returns the channel's mention instead of the Channel object.
* @returns {string}
* @example
* // Logs: Hello from <#123456789012345678>!
* console.log(`Hello from ${channel}!`);
*/
toString() {
return `<#${this.id}>`;
}
/**
* Deletes this channel.
* @returns {Promise<Channel>}
@ -3866,17 +3877,6 @@ class GuildChannel extends Channel {
return MessageNotificationTypes[3];
}
}
/**
* When concatenated with a string, this automatically returns the channel's mention instead of the Channel object.
* @returns {string}
* @example
* // Logs: Hello from <#123456789012345678>!
* console.log(`Hello from ${channel}!`);
*/
toString() {
return `<#${this.id}>`;
}
}
module.exports = GuildChannel;

File diff suppressed because one or more lines are too long