From 5f329a8b3258722aad8adcf6fcc260428acb91d6 Mon Sep 17 00:00:00 2001 From: ckohen Date: Sun, 4 Jul 2021 14:30:08 -0700 Subject: [PATCH] fix: id capitalization early rebase Co-authored-by: Noel --- src/structures/GuildChannel.js | 2 +- src/structures/ThreadChannel.js | 2 +- typings/index.d.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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;