diff --git a/commands/voice/animalese.js b/commands/voice/animalese.js index 73cec8cf..757c955b 100644 --- a/commands/voice/animalese.js +++ b/commands/voice/animalese.js @@ -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(); } };