1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-23 03:33:17 +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) {
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);
}
};