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

Update handleVideo.js

This commit is contained in:
Christer Warén 2019-10-31 21:09:35 +02:00 committed by GitHub
parent 3fec29be3b
commit 17c1369765
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {