mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 00:07:36 +02:00
Node 15
This commit is contained in:
@@ -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('\'', '');
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user