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:
Antonio Román
2021-07-04 20:54:27 +02:00
committed by GitHub
parent 281072be44
commit a7c6678c72
95 changed files with 963 additions and 963 deletions

View File

@@ -38,10 +38,10 @@ class DMChannel extends Channel {
}
/**
* The ID of the last message in the channel, if one was sent
* The channel's last message id, if one was sent
* @type {?Snowflake}
*/
this.lastMessageID = data.last_message_id;
this.lastMessageId = data.last_message_id;
/**
* The timestamp when the last pinned message was pinned, if there was one
@@ -56,7 +56,7 @@ class DMChannel extends Channel {
* @readonly
*/
get partial() {
return typeof this.lastMessageID === 'undefined';
return typeof this.lastMessageId === 'undefined';
}
/**