mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
Added full user tracking
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user