mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
refactor: change xID to xId (#6036)
* refactor: change `xID` to `xId` * Update src/managers/MessageManager.js Co-authored-by: Noel <buechler.noel@outlook.com> Co-authored-by: Noel <buechler.noel@outlook.com>
This commit is contained in:
@@ -17,7 +17,7 @@ class Team extends Base {
|
||||
|
||||
_patch(data) {
|
||||
/**
|
||||
* The ID of the Team
|
||||
* The Team's id
|
||||
* @type {Snowflake}
|
||||
*/
|
||||
this.id = data.id;
|
||||
@@ -38,7 +38,7 @@ class Team extends Base {
|
||||
* The Team's owner id
|
||||
* @type {?string}
|
||||
*/
|
||||
this.ownerID = data.owner_user_id ?? null;
|
||||
this.ownerId = data.owner_user_id ?? null;
|
||||
|
||||
/**
|
||||
* The Team's members
|
||||
@@ -58,7 +58,7 @@ class Team extends Base {
|
||||
* @readonly
|
||||
*/
|
||||
get owner() {
|
||||
return this.members.get(this.ownerID) ?? null;
|
||||
return this.members.get(this.ownerId) ?? null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user