diff --git a/main.cjs b/main.cjs index cc719e4..5de5d64 100644 --- a/main.cjs +++ b/main.cjs @@ -188,7 +188,7 @@ function getMatchingPhrase(inputString, targetCharacter) { const sMap = { '$': 's', '5': 's', 'š': 's', 'ß': 's', 'ʂ': 's', '𝔲': 'u', '𝔰': 's'}; return str.split('').map(char => sMap[char] || char).join(''); } - let checkString = normalize(message.content.toLowerCase()); + let checkString = String.prototype.normalize(message.content.toLowerCase()); let checkArray = ["ussy", "ussies", "uthy", "yssu", "suuy"]; function checkLoop(message, content) { console.log("Checking " + content + "...");