setUsername Fix, new Username System

Fixed setUsername function in ClientUser.js
This commit is contained in:
Mega 2023-06-20 12:55:57 +03:00 committed by GitHub
parent 8d3797434c
commit db92bb073c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,7 +170,6 @@ class ClientUser extends User {
} }
return this.edit({ return this.edit({
username, username,
discriminator: this.discriminator,
password: this.client.password ? this.client.password : password, password: this.client.password ? this.client.password : password,
}); });
} }