mirror of
https://github.com/DerTyp7/teamspeak-obs-overlay.git
synced 2025-10-29 21:02:10 +01:00
first commit
This commit is contained in:
11
js/utils.js
Normal file
11
js/utils.js
Normal file
@@ -0,0 +1,11 @@
|
||||
function getClientsInChannel(channel) {
|
||||
let result = [];
|
||||
|
||||
clients.forEach((e) => {
|
||||
if (e.channel.id == channel.id) {
|
||||
result.push(e);
|
||||
}
|
||||
});
|
||||
console.log(result);
|
||||
return result;
|
||||
}
|
||||
Reference in New Issue
Block a user