From 066be8915e49d788a6f1e717f9215e5966007df1 Mon Sep 17 00:00:00 2001 From: Supositware Date: Fri, 18 Jan 2019 22:38:41 +0100 Subject: [PATCH] will it work? --- commands/general/ttsvc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/general/ttsvc.js b/commands/general/ttsvc.js index ecb2b135..917b99d2 100644 --- a/commands/general/ttsvc.js +++ b/commands/general/ttsvc.js @@ -57,7 +57,7 @@ class TtsvcCommand extends Command { if (message.member.voice.channel) { const connection = await message.member.voice.channel.join(); - const dispatcher = connection.play('../../ttsvc.mp3'); + const dispatcher = connection.playFile('../../ttsvc.mp3'); dispatcher.on('finish', () => { dispatcher.destroy(); });