mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-12 23:20:17 +00:00
Update handleVideo.js
This commit is contained in:
parent
484524c17e
commit
f2c8655807
@ -37,7 +37,7 @@ module.exports = async function (video, msg, voiceChannel, client, playlist = fa
|
|||||||
client.funcs.play(msg.guild, construct.songs[0], client, 0, true);
|
client.funcs.play(msg.guild, construct.songs[0], client, 0, true);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
client.queue.delete(msg.guild.id);
|
client.queue.delete(msg.guild.id);
|
||||||
client.channels.get(client.config.debug_channel).send("Error with connecting to voice channel: " + error);
|
//client.channels.get(client.config.debug_channel).send("Error with connecting to voice channel: " + error);
|
||||||
return msg.channel.send(`<:redx:674263474704220182> An error occured: ${error}`);
|
return msg.channel.send(`<:redx:674263474704220182> An error occured: ${error}`);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user