it caused problem

Commando
Loic Bersier 6 years ago
parent c376cce0a8
commit c003e27609

@ -66,9 +66,7 @@ module.exports = class ttsvcCommand extends Command {
voiceChannel.join().then(connection => {
const dispatcher = connection.playStream('./tts.mp3');
// End at then end of the audio stream
setTimeout(function(){
dispatcher.on('end', () => voiceChannel.leave());
}, 2000);
});
});
});

Loading…
Cancel
Save