1
0
Fork 0

Work again

akairo
Supositware 6 years ago
parent 2bd536aa85
commit f553115bf1

@ -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;

Loading…
Cancel
Save