diff --git a/struct/config/config.js b/struct/config/config.js index cc4a3883..68ffe577 100644 --- a/struct/config/config.js +++ b/struct/config/config.js @@ -5,6 +5,7 @@ module.exports = { devToken: process.env.DEVTOKEN, dblKey: process.env.DBLKEY, api_key: process.env.GOOGLE_API_KEY, + testServer: "489111553321336832", debug_channel: "634718645188034560", primary_test_channel: "617633098296721409", secondary_test_channel: "570531724002328577", diff --git a/struct/funcs/ffmpeg.js b/struct/funcs/ffmpeg.js index 8ae5fb27..0ed742ba 100644 --- a/struct/funcs/ffmpeg.js +++ b/struct/funcs/ffmpeg.js @@ -1,5 +1,5 @@ module.exports = async function (client) { - if (!client.guild.find('489111553321336832')) return; + if (!client.guilds.cache.has(client.config.testServer)) return; try { await client.channels.fetch(client.config.secondary_test_channel) .then(x => x.join());