docs(GuildChannel): fix doc string for clone method

This commit is contained in:
Crawl
2018-11-20 16:42:27 +01:00
committed by GitHub
parent d92ee2ff99
commit 377ecd73ea

View File

@@ -464,7 +464,6 @@ class GuildChannel extends Channel {
* @param {string} [options.reason] Reason for cloning this channel * @param {string} [options.reason] Reason for cloning this channel
* @returns {Promise<GuildChannel>} * @returns {Promise<GuildChannel>}
*/ */
/* eslint-enable max-len */
clone(options = {}) { clone(options = {}) {
Util.mergeDefault({ Util.mergeDefault({
name: this.name, name: this.name,
@@ -480,6 +479,7 @@ class GuildChannel extends Channel {
}, options); }, options);
return this.guild.channels.create(options.name, options); return this.guild.channels.create(options.name, options);
} }
/* eslint-enable max-len */
/** /**
* Checks if this channel has the same type, topic, position, name, overwrites and ID as another channel. * Checks if this channel has the same type, topic, position, name, overwrites and ID as another channel.