MCPcopy Create free account
hub / github.com/Maccoder3/MAC-MD / getGroupAdmins

Function getGroupAdmins

lib/function.js:22–28  ·  view source on GitHub ↗
(participants)

Source from the content-addressed store, hash-verified

20}
21
22const getGroupAdmins = (participants) => {
23 var admins = []
24 for (let i of participants) {
25 i.admin !== null ? admins.push(i.id) : ''
26 }
27 return admins
28}
29
30const getRandom = (ext) => {
31 return `${Math.floor(Math.random() * 10000)}${ext}`

Callers 1

connectToWAFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected