From d454853679b58d9ab72c711371ab05437a20b076 Mon Sep 17 00:00:00 2001 From: March 7th <71698422+aiko-chan-ai@users.noreply.github.com> Date: Mon, 18 Jul 2022 00:57:25 +0700 Subject: [PATCH] fix(GuildChannelManager): Access `resolveId` correctly (v13) #8297 v13.9.0 --- 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 87cd85f..02b3601 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 });