mirror of
				https://github.com/warengroup/eximiabots-radiox.git
				synced 2025-11-04 02:29:32 +00:00 
			
		
		
		
	Updated voiceStateUpdate
This commit is contained in:
		@@ -13,11 +13,10 @@ module.exports = {
 | 
			
		||||
        if (!radio) return;
 | 
			
		||||
 | 
			
		||||
        if (newState.member.id === client.user.id && oldState.member.id === client.user.id) {
 | 
			
		||||
            console.log(oldState);
 | 
			
		||||
            console.log(newState);
 | 
			
		||||
 | 
			
		||||
            if (newState.channel === null) {
 | 
			
		||||
                client.funcs.statisticsUpdate(client, newState.guild, radio);
 | 
			
		||||
                radio.connection.destroy();
 | 
			
		||||
                radio.audioPlayer.stop();
 | 
			
		||||
                return client.radio.delete(newState.guild.id);
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user