diff --git a/commands/voice/animalese.js b/commands/voice/animalese.js index d6203584..ab084ce3 100644 --- a/commands/voice/animalese.js +++ b/commands/voice/animalese.js @@ -99,7 +99,7 @@ module.exports = class AnimaleseCommand extends Command { } const wav = new WaveFile(); wav.fromScratch(1, sampleFreq, '32', data); - return wav.toBuffer(); + return Buffer.from(wav.toBuffer()); } shortenWord(str) {