diff --git a/src/structures/ClientUser.js b/src/structures/ClientUser.js index 8f75a5522..d959375a3 100644 --- a/src/structures/ClientUser.js +++ b/src/structures/ClientUser.js @@ -78,7 +78,7 @@ class ClientUser extends User { * This is only filled when using a user account. * @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