diff --git a/src/structures/GuildChannel.js b/src/structures/GuildChannel.js index fcdbab224..287ee7a87 100644 --- a/src/structures/GuildChannel.js +++ b/src/structures/GuildChannel.js @@ -391,7 +391,7 @@ class GuildChannel extends Channel { */ setParent(channel, { lockPermissions = true, reason } = {}) { return this.edit({ - parentID: channel !== null ? channel.id ? channel.id : channel : null, + parentID: channel !== null ? channel.hasOwnProperty('id') ? channel.id : channel : null, lockPermissions, }, reason); }