From 379672699749947e14e518cc741cdfefc9cecca7 Mon Sep 17 00:00:00 2001 From: Ishmaam Khan Date: Thu, 21 Jan 2021 23:20:15 +0600 Subject: [PATCH] feat(GuildChannel#clone): support the position property --- src/structures/GuildChannel.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/structures/GuildChannel.js b/src/structures/GuildChannel.js index 3dfa0839dc31..8bca55d17382 100644 --- a/src/structures/GuildChannel.js +++ b/src/structures/GuildChannel.js @@ -515,6 +515,7 @@ class GuildChannel extends Channel { * @param {number} [options.bitrate=this.bitrate] Bitrate of the new channel in bits (only voice) * @param {number} [options.userLimit=this.userLimit] Maximum amount of users allowed in the new channel (only voice) * @param {number} [options.rateLimitPerUser=this.rateLimitPerUser] Ratelimit per user for the new channel (only text) + * @param {number} [options.position=this.position] Position of the new channel * @param {ChannelResolvable} [options.parent=this.parent] Parent of the new channel * @param {string} [options.reason] Reason for cloning this channel * @returns {Promise} @@ -531,6 +532,7 @@ class GuildChannel extends Channel { bitrate: this.bitrate, userLimit: this.userLimit, rateLimitPerUser: this.rateLimitPerUser, + position: this.position, reason: null, }, options,