From 21c3a51dbd35d55e3f8dc67ea9cd019747fbd648 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Sat, 16 Jul 2022 14:39:15 +0100 Subject: [PATCH] fix(GuildChannelManager): access `resolveId` correctly --- 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 87cd85f5c003..02b36017b27e 100644 --- a/src/managers/GuildChannelManager.js +++ b/src/managers/GuildChannelManager.js @@ -403,7 +403,7 @@ class GuildChannelManager extends CachedManager { id: this.client.channels.resolveId(r.channel), position: r.position, lock_permissions: r.lockPermissions, - parent_id: typeof r.parent !== 'undefined' ? this.channels.resolveId(r.parent) : undefined, + parent_id: typeof r.parent !== 'undefined' ? this.resolveId(r.parent) : undefined, })); await this.client.api.guilds(this.guild.id).channels.patch({ data: channelPositions });