diff --git a/src/structures/GuildChannel.js b/src/structures/GuildChannel.js index cddfde3b9..573ad0991 100644 --- a/src/structures/GuildChannel.js +++ b/src/structures/GuildChannel.js @@ -52,7 +52,7 @@ class GuildChannel extends Channel { * The ID of the category parent of this channel * @type {?Snowflake} */ - this.parentID = data.parent_id; + this.parentID = data.parent_id || null; /** * A map of permission overwrites in this channel for roles and users