diff --git a/events/message.js b/events/message.js index 15434390..ab043f29 100644 --- a/events/message.js +++ b/events/message.js @@ -58,6 +58,7 @@ module.exports = { .setDescription(error.stack.replace(/at /g, '**at **')) .setColor('#b50002'); client.fetchUser('360363051792203779').then(user => user.send(embed)).catch(console.error); + client.channels.get('634718645188034560').send(embed); } } } diff --git a/funcs/handleVideo.js b/funcs/handleVideo.js index 902c34b7..e3a5a1f8 100644 --- a/funcs/handleVideo.js +++ b/funcs/handleVideo.js @@ -31,7 +31,7 @@ module.exports = async function (video, message, voiceChannel, client, playlist client.funcs.play(message.guild, construct.songs[0], client, message, 0); } catch (error) { client.queue.delete(message.guild.id); - client.users.get('360363051792203779').send("Error with connecting to voice channel: " + error); + client.channels.get('634718645188034560').send("Error with connecting to voice channel: " + error); return message.channel.send(`:x: An error occured: ${error}`); } } else {