diff --git a/README.md b/README.md deleted file mode 100644 index 603b4b29..00000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# Musix-V3 -V3 for Musix diff --git a/struct/config/config.js b/struct/config/config.js index 479afc82..cc4a3883 100644 --- a/struct/config/config.js +++ b/struct/config/config.js @@ -1,19 +1,16 @@ require('dotenv/config'); module.exports = { - //credentials token: process.env.TOKEN, devToken: process.env.DEVTOKEN, dblKey: process.env.DBLKEY, api_key: process.env.GOOGLE_API_KEY, - //channels debug_channel: "634718645188034560", primary_test_channel: "617633098296721409", secondary_test_channel: "570531724002328577", devId: "360363051792203779", embedColor: "#b50002", invite: "https://discordapp.com/api/oauth2/authorize?client_id=607266889537945605&permissions=3427328&redirect_uri=https%3A%2F%2Fdiscordapp.com%2Foauth2%2Fauthorize%3Fclient_id%3D607266889537945605%26%3Bscope%3Dbot%26%3Bpermissions%3D0&scope=bot", - //Settings devMode: false, dblApi: false, saveDB: true, @@ -21,7 +18,6 @@ module.exports = { shardDelay: 10000, spawnTimeout: 60000, respawnDelay: 1000, - //db values prefix: ">", devPrefix: "-", defaultVolume: 5, diff --git a/struct/config/messages.js b/struct/config/messages.js index 1113a105..01c99b3f 100644 --- a/struct/config/messages.js +++ b/struct/config/messages.js @@ -1,8 +1,3 @@ -/* -THIS FILE CONTAINS ALL MESSAGES THAT MUSIX SENDS! -THIS IS MUSIX BRANDING AND YOU'RE NOT PERMITTED TO COPY THE VISUALS OF MUSIX! -IF YOU CLONED THIS REPOSITORY PLEASE MODIFY THESE MESSAGES! -*/ module.exports = { alreadyPaused: "<:redx:674263474704220182> The music is already paused!", alreadyVoted: "<:redx:674263474704220182> You have already voted to skip!", diff --git a/struct/funcs/ffmpeg.js b/struct/funcs/ffmpeg.js index f86fadb0..c44599af 100644 --- a/struct/funcs/ffmpeg.js +++ b/struct/funcs/ffmpeg.js @@ -3,6 +3,7 @@ module.exports = async function (client) { 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); } }; \ No newline at end of file