mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +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
|
||||
* @returns {Promise<GuildChannel>}
|
||||
*/
|
||||
/* eslint-enable max-len */
|
||||
clone(options = {}) {
|
||||
Util.mergeDefault({
|
||||
name: this.name,
|
||||
|
|
@ -480,6 +479,7 @@ class GuildChannel extends Channel {
|
|||
}, 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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue