The temporary channels manager.

Export

TempChannelsManager

Hierarchy

  • VoiceChannelsManager
    • TempChannelsManager

Constructors

Properties

client: Client<boolean>

Methods

  • Protected

    Gets the parent channel either based on its ID or by looking for a match on the provided ID and its list of children.

    Parameters

    • channelId: string
    • Optional lookAsChild: boolean = false

    Returns undefined | ParentChannelData

    Memberof

    VoiceChannelsManager

  • Registers a parent channel. When a user joins a it, a child will be created and they will be moved to it.

    Parameters

    • channelId: string
    • Optional options: ParentChannelOptions = ...

      [DRoom #${count}] ${name}, childFormatRegex: /^[DRoom #\d+]\s+.+/i, childPermissionOverwriteOption: { ManageChannels: true } }]

    Returns void

  • Unregisters a parent channel. When a user joins it, nothing will happen.

    Parameters

    • channelId: string

    Returns boolean