mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 14:19:11 +02:00
Make animalese sound better
This commit is contained in:
@@ -107,6 +107,6 @@ module.exports = class AnimaleseCommand extends Command {
|
|||||||
}
|
}
|
||||||
|
|
||||||
processScript(str) {
|
processScript(str) {
|
||||||
return str.replace(/[^a-z]/gi, ' ').split(' ').join('');
|
return str.replace(/[^a-z]/gi, ' ').trim();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user