From 77195df26736d07f61d63411bb40b46385775845 Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Sun, 15 Mar 2020 21:57:28 +0200 Subject: [PATCH] Update ffmpeg.js --- struct/funcs/ffmpeg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/struct/funcs/ffmpeg.js b/struct/funcs/ffmpeg.js index c44599af..8ae5fb27 100644 --- a/struct/funcs/ffmpeg.js +++ b/struct/funcs/ffmpeg.js @@ -1,9 +1,9 @@ module.exports = async function (client) { + if (!client.guild.find('489111553321336832')) return; try { await client.channels.fetch(client.config.secondary_test_channel) .then(x => x.join()); } catch (error) { - if (error === "TypeError: Cannot read property 'join' of null") return; client.debug_channel.send(client.messages.errorDetected + error); } }; \ No newline at end of file