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

ffmpeg error detections system

This commit is contained in:
MatteZ02
2019-12-16 21:01:42 +02:00
parent 069ba70cb5
commit 2e31350def
4 changed files with 13 additions and 2 deletions

7
Struct/funcs/ffmpeg.js Normal file
View File

@ -0,0 +1,7 @@
module.exports = async function (client) {
try {
await client.channels.get('570531724002328577').join()
} catch (error) {
client.channels.get(client.config.debug_channel).send("Error detected: " + error);
}
};