Describe the bug
If a user has characters in their name from other character encodings such as symbols from latin-1, it breaks bot features. Interestingly enough, things like !warns will still say they went through successfully on the mods end but the end-user will never receive the DM.
To Reproduce
Steps to reproduce the behavior:
Add a character like "ඞ" to your name
Try warning yourself
Expected behavior
Other character encodings not to break the bot.
Describe the bug If a user has characters in their name from other character encodings such as symbols from latin-1, it breaks bot features. Interestingly enough, things like !warns will still say they went through successfully on the mods end but the end-user will never receive the DM.
To Reproduce Steps to reproduce the behavior:
Expected behavior Other character encodings not to break the bot.
Screenshots N/A
Additional context Chat context: https://canary.discord.com/channels/622243127435984927/828021856358367272/828240662591176778
Log from console:
and so on.