1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-23 03:33:17 +00:00

Update index.js

This commit is contained in:
MatteZ02 2019-06-01 09:23:23 +03:00
parent b8416bac27
commit 04314762cc

View File

@ -320,7 +320,7 @@ async function handleVideo(video, msg, voiceChannel, playlist = false) {
queueConstruct.connection = connection; queueConstruct.connection = connection;
play(msg.guild, queueConstruct.songs[0]); play(msg.guild, queueConstruct.songs[0]);
} catch (error) { } catch (error) {
console.error(`:x: I could not join the voice channel: ${error}`); console.error(`I could not join the voice channel: ${error}`);
queue.delete(msg.guild.id); queue.delete(msg.guild.id);
return msg.channel.send(`:x: I could not join the voice channel: ${error}`); return msg.channel.send(`:x: I could not join the voice channel: ${error}`);
} }