mirror of
				https://github.com/musix-org/musix-oss
				synced 2025-11-04 06:49:31 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			333 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			333 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
module.exports = async function (client) {
 | 
						|
    if (!client.guilds.cache.has(client.config.testServer)) return;
 | 
						|
    try {
 | 
						|
        await client.channels.fetch(client.config.secondary_test_channel)
 | 
						|
            .then(x => x.join());
 | 
						|
    } catch (error) {
 | 
						|
        client.debug_channel.send(client.messages.errorDetected + error);
 | 
						|
    }
 | 
						|
}; |