mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 21:12:06 +00:00
Fix ClientUser#settings not showing up in the documentation (#1757)
This commit is contained in:
parent
e5be902568
commit
317a352337
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,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;
|
||||
|
||||
/**
|
||||
* All of the user's guild settings
|
||||
|
|
|
|||
Loading…
Reference in a new issue