From 17207bebfa3dac4ae6ffebc5a187061ee987802e Mon Sep 17 00:00:00 2001 From: almeidx Date: Sun, 5 Jun 2022 18:12:47 +0100 Subject: [PATCH] fix(guildchannelmanager): wrong parameter in _sortedChannels call --- src/managers/GuildChannelManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/managers/GuildChannelManager.js b/src/managers/GuildChannelManager.js index 9d4f28f0c097..a9a543fa2db7 100644 --- a/src/managers/GuildChannelManager.js +++ b/src/managers/GuildChannelManager.js @@ -308,7 +308,7 @@ class GuildChannelManager extends CachedManager { channel, position, relative, - this.guild._sortedChannels(this), + this.guild._sortedChannels(channel), this.client.api.guilds(this.guild.id).channels, reason, );