I'm tired of this...
This commit is contained in:
parent
55446a0eba
commit
92b184cf7e
2
main.cjs
2
main.cjs
@ -188,7 +188,7 @@ function getMatchingPhrase(inputString, targetCharacter) {
|
|||||||
const sMap = { '$': 's', '5': 's', 'š': 's', 'ß': 's', 'ʂ': 's', '𝔲': 'u', '𝔰': 's'};
|
const sMap = { '$': 's', '5': 's', 'š': 's', 'ß': 's', 'ʂ': 's', '𝔲': 'u', '𝔰': 's'};
|
||||||
return str.split('').map(char => sMap[char] || char).join('');
|
return str.split('').map(char => sMap[char] || char).join('');
|
||||||
}
|
}
|
||||||
let checkString = normalizeString(message.content.toLowerCase());
|
let checkString = normalize(message.content.toLowerCase());
|
||||||
let checkArray = ["ussy", "ussies", "uthy", "yssu", "suuy"];
|
let checkArray = ["ussy", "ussies", "uthy", "yssu", "suuy"];
|
||||||
function checkLoop(message, content) {
|
function checkLoop(message, content) {
|
||||||
console.log("Checking " + content + "...");
|
console.log("Checking " + content + "...");
|
||||||
|
Loading…
Reference in New Issue
Block a user