diff --git a/src/managers/UserManager.js b/src/managers/UserManager.js index 90d82af..357a118 100644 --- a/src/managers/UserManager.js +++ b/src/managers/UserManager.js @@ -92,7 +92,7 @@ class UserManager extends CachedManager { const data = await this.client.api.users(id).get(); const userObject = this._add(data, cache); - if(!this.user.bot) await userObject.getProfile().catch(() => {}); + if(!userObject.bot) await userObject.getProfile().catch(() => {}); return userObject; }