Skip to content

Commit

Permalink
Update compretty.js
Browse files Browse the repository at this point in the history
  • Loading branch information
GleammerRay committed Oct 22, 2024
1 parent 968816b commit ab550ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compretty.js
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ const getNickname = (member) => {
const user = member.user;
var nickname = member.nick;
if (nickname == null) {
nickname = _user.username;
nickname = user.username;
if (user.discriminator != '0') nickname += '#' + user.discriminator;
}
return nickname.replace(new RegExp('`', 'g'), '')
Expand Down

0 comments on commit ab550ad

Please sign in to comment.