mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
Fix ClientUser#settings not showing up in the documentation (#1757)
This commit is contained in:
parent
c01e9ad828
commit
a7e5e53e5d
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue