1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-09-20 17:11:57 +00:00
musix-oss/struct/funcs/ffmpeg.js
2020-03-14 23:17:16 +02:00

9 lines
345 B
JavaScript

module.exports = async function (client) {
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);
}
};