mirror of
https://github.com/danbulant/discord.js
synced 2026-06-18 22:21:17 +00:00
fix(GuildChannel): Default parentID to null (#4881)
This commit is contained in:
parent
dd12912124
commit
6e4308bfde
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue