mirror of
https://github.com/danbulant/discord.js
synced 2026-06-08 17:21:31 +00:00
docs(GuildChannel): fix doc string for clone method
This commit is contained in:
parent
d92ee2ff99
commit
377ecd73ea
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue