diff --git a/main.cjs b/main.cjs index 3ebc386..534c18a 100644 --- a/main.cjs +++ b/main.cjs @@ -183,13 +183,13 @@ function getMatchingPhrase(inputString, targetCharacter) { global.clenseDegeneracy = function clenseDegeneracy(message) { function normalizeString(str) { // Define a mapping of characters to 's' - const sMap = { '$': 's', '5': 's' }; + const sMap = { '$': 's', '5': 's', 'ลก': 's'}; // Replace similar characters with 's' return str.split('').map(char => sMap[char] || char).join(''); } let checkString = normalizeString(message.content.toLowerCase()); - let checkArray = ["ussy", "ussies"]; + let checkArray = ["ussy", "ussies", "uthy"]; function checkLoop(message, content) { console.log("Checking " + content + "..."); for (let i = 0; i < checkArray.length; i++) {