From 3730aecd87d7e4decae2d96bc6086c69a5ca7aa2 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Thu, 18 Jul 2019 00:06:12 +0200 Subject: [PATCH] fixed --- commands/fun/tts/dectalkvc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/fun/tts/dectalkvc.js b/commands/fun/tts/dectalkvc.js index f38d35d3..df5392c9 100644 --- a/commands/fun/tts/dectalkvc.js +++ b/commands/fun/tts/dectalkvc.js @@ -41,7 +41,7 @@ class dectalkvcCommand extends Command { if (!voiceChannel) return message.say('Please enter a voice channel first.'); try { const connection = await voiceChannel.join(); - const dispatcher = connection.play('./dectalkvc.wav'); + const dispatcher = connection.play('./dectalk/dectalkvc.wav'); dispatcher.once('finish', () => voiceChannel.leave()); dispatcher.once('error', () => voiceChannel.leave()); return null; @@ -61,7 +61,7 @@ class dectalkvcCommand extends Command { if (!voiceChannel) return message.say('Please enter a voice channel first.'); try { const connection = await voiceChannel.join(); - const dispatcher = connection.play('./dectalkvc.wav'); + const dispatcher = connection.play('./dectalk/dectalkvc.wav'); dispatcher.once('finish', () => voiceChannel.leave()); dispatcher.once('error', () => voiceChannel.leave()); return null;