Don't await playStream

This commit is contained in:
Daniel Odendahl Jr
2017-03-23 13:29:19 +00:00
parent 7374270dcb
commit b368cebc84
+1 -1
View File
@@ -51,7 +51,7 @@ module.exports = class SoundBoardCommand extends commando.Command {
else {
await voiceChannel.join().then(connection => {
let stream = sounds.paths[soundToPlay];
let dispatcher = await connection.playStream(stream);
let dispatcher = connection.playStream(stream);
await message.react('🔊');
dispatcher.on('end', () => {
await message.react('✅');