mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
Fix user.status
This commit is contained in:
@@ -34,6 +34,9 @@ class ClientDataManager {
|
||||
}
|
||||
|
||||
newUser(data) {
|
||||
if (this.client.users.get(data.id)) {
|
||||
return this.client.users.get(data.id);
|
||||
}
|
||||
const user = new User(this.client, data);
|
||||
this.client.users.set(user.id, user);
|
||||
return user;
|
||||
|
||||
Reference in New Issue
Block a user