How do I get an user's "Display Name" with discord.js?
For example, I want to specify the users in my server who have a specific symbol like a star ★, and if they have this symbol I want to perform an action.
if (member.displayName.includes('★')) { ...
if (member.displayName.includes('★')) { ...
but when I use
displayName
displayName
it checks the username of the account and not the diplay name. Can anyone help me about this?