mirror of
				https://github.com/musix-org/musix-oss
				synced 2025-11-04 09:49:32 +00:00 
			
		
		
		
	Update ffmpeg.js
This commit is contained in:
		@@ -1,9 +1,9 @@
 | 
				
			|||||||
module.exports = async function (client) {
 | 
					module.exports = async function (client) {
 | 
				
			||||||
 | 
					    if (!client.guild.find('489111553321336832')) return;
 | 
				
			||||||
    try {
 | 
					    try {
 | 
				
			||||||
        await client.channels.fetch(client.config.secondary_test_channel)
 | 
					        await client.channels.fetch(client.config.secondary_test_channel)
 | 
				
			||||||
            .then(x => x.join());
 | 
					            .then(x => x.join());
 | 
				
			||||||
    } catch (error) {
 | 
					    } catch (error) {
 | 
				
			||||||
        if (error === "TypeError: Cannot read property 'join' of null") return;
 | 
					 | 
				
			||||||
        client.debug_channel.send(client.messages.errorDetected + error);
 | 
					        client.debug_channel.send(client.messages.errorDetected + error);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
		Reference in New Issue
	
	Block a user