Work again

This commit is contained in:
Supositware 2019-01-18 22:46:58 +01:00
parent 2bd536aa85
commit f553115bf1

View file

@ -57,7 +57,7 @@ class TtsvcCommand extends Command {
if (!voiceChannel) return message.say('Please enter a voice channel first.');
try {
const connection = await voiceChannel.join();
const dispatcher = connection.play('../../ttsvc.mp3');
const dispatcher = connection.play('./ttsvc.mp3');
dispatcher.once('finish', () => voiceChannel.leave());
dispatcher.once('error', () => voiceChannel.leave());
return null;