Skip to content

Commit

Permalink
Update src/managers/GuildMemberManager.js
Browse files Browse the repository at this point in the history
Co-authored-by: Antonio Román <kyradiscord@gmail.com>
  • Loading branch information
monbrey and kyranet committed Apr 30, 2021
1 parent 2cbb29e commit 5c252bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/managers/GuildMemberManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ class GuildMemberManager extends BaseManager {
if (user instanceof GuildMember) return user;
const _user = this.client.users.cache.get(id);
if (_user) {
return this.resolve(_user) || _user;
return this.resolve(_user) ?? _user;
}
return id;
}
Expand Down

0 comments on commit 5c252bb

Please sign in to comment.