Autocompleting with normalized Text
Hi,
i'd suggest to implement the String.prototype.normalize('NFKD') method for auto-completions.
this will help users to mention users with non-alphabetical nicknames and channels including such symbols.
f.e.: there's a user named 𝓦𝓱𝓪𝓽𝓮𝓿𝓼. By default you cant mention this user without extra steps. But with the normalize-method i provided above guild moderators wouldnt have to ban such names for 'unmentionability'.
2
Vui lòng đăng nhập để lại bình luận.
Bình luận
0 bình luận