zaanposni/discord-masz

Feature that can detect and remove hard to mention usernames

UponAnonymous opened this issue · 4 comments

Every server that I have been a part of always has to have someone that has a name you can't mention, either because it's Zalgo or some copy and paste text from online.
That's why this suggestion is to help crack down on that in servers.

The way it could work is that when someone joins the server and their name isn't able to be mentioned the bot does one of two things, it can either attempt to change the users nickname to something that's mentionable. Or it'll ask the user to change their name to something in a certain time limit (if set) or faced being kicked/banned.

These could also be configured to the owner/admins liking, by either making it that the bot will attempt to try and guess the username or just put a temporary nickname, to if the user should be given a warning to change their username or be kicked/banned in x amount of times or just making the bot kick/ban the user.

Do you have a suggestion on how to detect zalgo given that there are different cultures that might count different characters as zalgo while others dont?

Do you have a suggestion on how to detect zalgo given that there are different cultures that might count different characters as zalgo while others dont?

As of now, I'm looking for a way to work around this issue. Once I have found one I'll reply to this issue.

EDIT: A workaround was sent in DMs

Zalgo mode is added in v3.1.0 release branch.

image
image