diff --git a/src/structures/GuildChannel.js b/src/structures/GuildChannel.js index 81b5039fd676..44bfd7a958ba 100644 --- a/src/structures/GuildChannel.js +++ b/src/structures/GuildChannel.js @@ -40,7 +40,7 @@ class GuildChannel extends Channel { * The id of the guild the channel is in * @type {Snowflake} */ - this.guildID = data.guild_id; + this.guildId = data.guild_id; this.parentID = this.parentID ?? null; /** diff --git a/src/structures/ThreadChannel.js b/src/structures/ThreadChannel.js index 74e96ad8c5ca..351b89c0b4a1 100644 --- a/src/structures/ThreadChannel.js +++ b/src/structures/ThreadChannel.js @@ -30,7 +30,7 @@ class ThreadChannel extends Channel { * The id of the guild the channel is in * @type {Snowflake} */ - this.guildID = data.guild_id; + this.guildId = data.guild_id; /** * A manager of the messages sent to this thread diff --git a/typings/index.d.ts b/typings/index.d.ts index 27d51fec3c50..aeff9eca5ffc 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1023,7 +1023,7 @@ declare module 'discord.js' { public readonly calculatedPosition: number; public readonly deletable: boolean; public guild: Guild; - public guildID: Snowflake; + public guildId: Snowflake; public readonly manageable: boolean; public readonly members: Collection; public name: string;