From 2816e039042892484bd8a694ce338afd88c218a3 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Tue, 24 Apr 2018 23:04:31 +0000 Subject: [PATCH] Fix --- commands/voice/dec-talk.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/voice/dec-talk.js b/commands/voice/dec-talk.js index b7af38c0..a0a7eee2 100644 --- a/commands/voice/dec-talk.js +++ b/commands/voice/dec-talk.js @@ -36,7 +36,7 @@ module.exports = class DECTalkCommand extends Command { try { const connection = await channel.join(); const data = await snekfetch - .get('http://tts.cyzon.us/tts', { followRedirects: false }) + .get('http://tts.cyzon.us/tts', { redirects: false }) .query({ text }); const dispatcher = connection.play(`http://tts.cyzon.us${data.headers.location}`); dispatcher.once('finish', () => channel.leave());