Added full user tracking

This commit is contained in:
hydrabolt
2015-08-24 23:05:13 +01:00
parent 0da7945278
commit f2e3be0bad
5 changed files with 60 additions and 0 deletions

View File

@@ -30,6 +30,10 @@ class User{
equals(object){
return object.id === this.id;
}
equalsStrict(object){
return object.id === this.id && object.avatar === this.avatar && object.username === this.username && object.discriminator === this.discriminator;
}
}
module.exports = User;