mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 06:43:17 +00:00
Update ffmpeg.js
This commit is contained in:
parent
9f0a747026
commit
77195df267
@ -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);
|
||||||
}
|
}
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user