1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-06-16 18:56:00 +00:00

status and fix ffmpeg

This commit is contained in:
MatteZ02
2020-02-13 05:24:30 +02:00
parent 7c5a6f840c
commit ca8c70c4f3
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
module.exports = async function (client) {
try {
await client.channels.get(client.config.secondary_test_channel).join()
await client.channels.fetch(client.config.secondary_test_channel)
.then(x => x.join());
} catch (error) {
client.channels.get(client.config.debug_channel).send("Error detected: " + error);
}