first commit

This commit is contained in:
Janis
2022-10-25 18:27:02 +02:00
commit 1315c39ae1
13 changed files with 297 additions and 0 deletions

11
js/utils.js Normal file
View 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;
}