mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 02:00:20 +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);
|
||||
} catch (error) {
|
||||
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}`);
|
||||
}
|
||||
} else {
|
||||
@ -41,4 +41,4 @@ module.exports = async function (video, message, voiceChannel, client, playlist
|
||||
return message.channel.send(`:white_check_mark: **${song.title}** has been added to the queue!`);
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user