mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
remove User#locale (#4932)
This commit is contained in:
@@ -28,7 +28,6 @@ class User extends Base {
|
||||
this.id = data.id;
|
||||
|
||||
this.system = null;
|
||||
this.locale = null;
|
||||
this.flags = null;
|
||||
|
||||
this._patch(data);
|
||||
@@ -81,14 +80,6 @@ class User extends Base {
|
||||
this.system = Boolean(data.system);
|
||||
}
|
||||
|
||||
if ('locale' in data) {
|
||||
/**
|
||||
* The locale of the user's client (ISO 639-1)
|
||||
* @type {?string}
|
||||
*/
|
||||
this.locale = data.locale;
|
||||
}
|
||||
|
||||
if ('public_flags' in data) {
|
||||
/**
|
||||
* The flags for this user
|
||||
|
||||
Reference in New Issue
Block a user