Skip to content

Function: serverLiveChannelIds() ​

ts
function serverLiveChannelIds(
   channels, 
   serverId, 
   knownChannelIds?
): number[];

Defined in: voicePresence.ts:70

The channels of a server that have a live record. A record names its server; knownChannelIds covers records from before they did, for the server that is open (whose channels are loaded).

Parameters ​

ParameterTypeDefault value
channelsLiveChannelsundefined
serverIdnumberundefined
knownChannelIds?Iterable<number>[]

Returns ​

number[]

Released under the GNU Affero General Public License v3.0.