Create a stream to play with DisTubeVoice

Hierarchy

  • TypedEmitter<{
        debug: ((debug: string) => Awaitable);
        error: ((error: Error) => Awaitable);
    }>
    • DisTubeStream

Constructors

Properties

audioResource: AudioResource<unknown>
process?: ChildProcess
stream: VolumeTransformer
defaultMaxListeners: number

Methods

  • Type Parameters

    • U extends "error" | "debug"

    Parameters

    • event: U
    • listener: {
          debug: ((debug: string) => any);
          error: ((error: Error) => any);
      }[U]

    Returns this

  • Type Parameters

    • U extends "error" | "debug"

    Parameters

    • event: U
    • Rest...args: Parameters<{
          debug: ((debug: string) => any);
          error: ((error: Error) => any);
      }[U]>

    Returns boolean

  • Type Parameters

    • U extends "error" | "debug"

    Returns U[]

  • Returns number

  • Parameters

    • type: "error" | "debug"

    Returns number

  • Type Parameters

    • U extends "error" | "debug"

    Parameters

    • type: U

    Returns {
        debug: ((debug: string) => any);
        error: ((error: Error) => any);
    }[U][]

  • Type Parameters

    • U extends "error" | "debug"

    Parameters

    • event: U
    • listener: {
          debug: ((debug: string) => any);
          error: ((error: Error) => any);
      }[U]

    Returns this

  • Type Parameters

    • U extends "error" | "debug"

    Parameters

    • event: U
    • listener: {
          debug: ((debug: string) => any);
          error: ((error: Error) => any);
      }[U]

    Returns this

  • Type Parameters

    • U extends "error" | "debug"

    Parameters

    • event: U
    • listener: {
          debug: ((debug: string) => any);
          error: ((error: Error) => any);
      }[U]

    Returns this

  • Type Parameters

    • U extends "error" | "debug"

    Parameters

    • event: U
    • listener: {
          debug: ((debug: string) => any);
          error: ((error: Error) => any);
      }[U]

    Returns this

  • Type Parameters

    • U extends "error" | "debug"

    Parameters

    • event: U
    • listener: {
          debug: ((debug: string) => any);
          error: ((error: Error) => any);
      }[U]

    Returns this

  • Type Parameters

    • U extends "error" | "debug"

    Parameters

    • type: U

    Returns {
        debug: ((debug: string) => any);
        error: ((error: Error) => any);
    }[U][]

  • Parameters

    • Optionalevent: "error" | "debug"

    Returns this

  • Type Parameters

    • U extends "error" | "debug"

    Parameters

    • event: U
    • listener: {
          debug: ((debug: string) => any);
          error: ((error: Error) => any);
      }[U]

    Returns this

  • Parameters

    • n: number

    Returns this

MMNEPVFCICPMFPCPTTAAATR