From d455cb65a6188e7d7b6720848b5ce37dbf8b5dff Mon Sep 17 00:00:00 2001 From: Ishmaam Khan Date: Mon, 10 May 2021 16:41:14 +0600 Subject: [PATCH] feat(GuildChannel#clone): support for position property (#5236) --- src/structures/GuildChannel.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/structures/GuildChannel.js b/src/structures/GuildChannel.js index d3fb139d8..c2bf5e367 100644 --- a/src/structures/GuildChannel.js +++ b/src/structures/GuildChannel.js @@ -531,6 +531,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} @@ -547,6 +548,7 @@ class GuildChannel extends Channel { bitrate: this.bitrate, userLimit: this.userLimit, rateLimitPerUser: this.rateLimitPerUser, + position: this.position, reason: null, }, options,