mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Fix ClientUser#settings not showing up in the documentation (#1757)
This commit is contained in:
@@ -72,7 +72,7 @@ class ClientUser extends User {
|
||||
* <warn>This is only filled when using a user account.</warn>
|
||||
* @type {?ClientUserSettings}
|
||||
*/
|
||||
if (data.user_settings) this.settings = new ClientUserSettings(this, data.user_settings);
|
||||
this.settings = data.user_settings ? new ClientUserSettings(this, data.user_settings) : null;
|
||||
}
|
||||
|
||||
edit(data) {
|
||||
|
||||
Reference in New Issue
Block a user