forked from Supositware/Haha-Yes
Work again
This commit is contained in:
parent
2bd536aa85
commit
f553115bf1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue