Creates an instance of TempChannelsManager.
TempChannelsManager
Readonly
clientAdds a voice channel as a child of a parent. Emits the TempChannelsManagerEvents.childAdd event.
{void}
VoiceChannelsManager
Protected
getProtected
Gets the parent channel either based on its ID or by looking for a match on the provided ID and its list of children.
Optional
lookAsChild: boolean = falseVoiceChannelsManager
Registers a parent channel. When a user joins a it, a child will be created and they will be moved to it.
Optional
options: ParentChannelOptions = ...[DRoom #${count}] ${name}
,
childFormatRegex: /^[DRoom #\d+]\s+.+/i,
childPermissionOverwriteOption: { ManageChannels: true }
}]
Removes a voice channel from the list of children of a parent. Emits the TempChannelsManagerEvents.childRemove event.
{void}
VoiceChannelsManager
The temporary channels manager.
Export
TempChannelsManager