1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-22 21:13:18 +00:00

ffmpeg test

This commit is contained in:
MatteZ02 2020-03-15 22:09:00 +02:00
parent b0886a78a0
commit 2ca0306928
2 changed files with 2 additions and 1 deletions

View File

@ -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",

View File

@ -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());