1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-09-20 04:31:56 +00:00

Update ffmpeg.js

This commit is contained in:
MatteZ02 2020-03-15 21:57:28 +02:00
parent 9f0a747026
commit 77195df267

View File

@ -1,9 +1,9 @@
module.exports = async function (client) { module.exports = async function (client) {
if (!client.guild.find('489111553321336832')) return;
try { try {
await client.channels.fetch(client.config.secondary_test_channel) await client.channels.fetch(client.config.secondary_test_channel)
.then(x => x.join()); .then(x => x.join());
} catch (error) { } catch (error) {
if (error === "TypeError: Cannot read property 'join' of null") return;
client.debug_channel.send(client.messages.errorDetected + error); client.debug_channel.send(client.messages.errorDetected + error);
} }
}; };