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

@@ -90,7 +90,7 @@ class Integration extends Base {
*/
get roles() {
const roles = this.guild.roles.cache;
return roles.filter(role => role.tags?.integrationID === this.id);
return roles.filter(role => role.tags?.integrationId === this.id);
}
_patch(data) {
@@ -186,9 +186,9 @@ class Integration extends Base {
toJSON() {
return super.toJSON({
role: 'roleID',
guild: 'guildID',
user: 'userID',
role: 'roleId',
guild: 'guildId',
user: 'userId',
});
}
}