I'm tired of this...

master
Chloe Fontenot 🏳️‍⚧️ 2024-08-09 20:44:43 +07:00
parent 421ccd6d6c
commit 55446a0eba
1 changed files with 1 additions and 1 deletions

@ -185,7 +185,7 @@ function getMatchingPhrase(inputString, targetCharacter) {
global.clenseDegeneracy = function clenseDegeneracy(message) {
function normalizeString(str) {
const sMap = { '$': 's', '5': 's', 'š': 's', 'ß': 's', 'ʂ': 's'};
const sMap = { '$': 's', '5': 's', 'š': 's', 'ß': 's', 'ʂ': 's', '𝔲': 'u', '𝔰': 's'};
return str.split('').map(char => sMap[char] || char).join('');
}
let checkString = normalizeString(message.content.toLowerCase());