mirror of
				https://github.com/DerTyp7/teamspeak-obs-overlay.git
				synced 2025-11-04 07:19:03 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			220 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			220 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
function getClientsInChannel(channel) {
 | 
						|
  let result = [];
 | 
						|
 | 
						|
  clientList.items.forEach((e) => {
 | 
						|
    if (e.channel) {
 | 
						|
      if (e.channel.id == channel.id) {
 | 
						|
        result.push(e);
 | 
						|
      }
 | 
						|
    }
 | 
						|
  });
 | 
						|
  return result;
 | 
						|
}
 |