chevyboys / Mizuchi

This is a custom bot for the climbers court community on discord
GNU Affero General Public License v3.0
4 stars 6 forks source link

Incorrectly Parsed Usernames in Messages Mentioning Users #153

Closed King-Tersael closed 1 year ago

King-Tersael commented 1 year ago

Describe the bug When a user has a new form username rather than the old "discriminator" style, Tavare's messages will display the username rather than the users display name.

To Reproduce Steps to reproduce the behavior: Have a user that possesses a username say "Happy Pride" in General

Expected behavior Tavare will need to start using Display names rather than the usernames in certain circumstances.

Screenshots image

Workarounds: N/A

MetaData (please complete the following information):

Additional context N/A

chevyboys commented 1 year ago

Issue was accidentally closed with the wrong PR. Our version of discord.js doesn't support the new username system, and we're already using msg.member.displayname. We're just going to have to wait for discord.js to update.