This commit is contained in:
Dragon Fire
2020-10-24 14:25:32 -04:00
parent 40080cadef
commit ebd26a7b0e
25 changed files with 42 additions and 44 deletions
+4 -3
View File
@@ -42,8 +42,9 @@ module.exports = class TemmieCommand extends Command {
temmize(text) {
return wordTrans(text, dictionary)
.replace(/ing/gi, 'in')
.replace(/!/g, '!!!!111!1!')
.replace(/'/g, '');
.replaceAll('ing', 'in')
.replaceAll('ING', 'IN')
.replaceAll('!', '!!!!111!1!')
.replaceAll('\'', '');
}
};