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