Skip to content

Commit

Permalink
fix: id capitalization early rebase
Browse files Browse the repository at this point in the history
Co-authored-by: Noel <buechler.noel@outlook.com>
  • Loading branch information
ckohen and iCrawl committed Jul 4, 2021
1 parent 790e143 commit 5f329a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/structures/GuildChannel.js
Expand Up @@ -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;
/**
Expand Down
2 changes: 1 addition & 1 deletion src/structures/ThreadChannel.js
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion typings/index.d.ts
Expand Up @@ -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<Snowflake, GuildMember>;
public name: string;
Expand Down

0 comments on commit 5f329a8

Please sign in to comment.