mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-14 03:30:18 +00:00
Update handleVideo.js
This commit is contained in:
parent
3fec29be3b
commit
17c1369765
@ -32,7 +32,7 @@ module.exports = async function (video, message, voiceChannel, client, playlist
|
|||||||
client.funcs.play(message.guild, construct.songs[0], client, message, 0, true);
|
client.funcs.play(message.guild, construct.songs[0], client, message, 0, true);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
client.queue.delete(message.guild.id);
|
client.queue.delete(message.guild.id);
|
||||||
client.channels.get('634718645188034560').send("Error with connecting to voice channel: " + error);
|
client.channels.get(client.config.debug_channel).send("Error with connecting to voice channel: " + error);
|
||||||
return message.channel.send(`:x: An error occured: ${error}`);
|
return message.channel.send(`:x: An error occured: ${error}`);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user