Options
All
  • Public
  • Public/Protected
  • All
Menu

Class QueueHandler<TM>

The instance to handle audio player and queue

Type parameters

  • TM: object = {}

Hierarchy

  • QueueHandler

Index

Constructors

constructor

Properties

Readonly manager

manager: QueueManager<TM, unknown>

The manager of the queue handler

Readonly queue

queue: Queue<TM> = ...

The handled queue

Accessors

filtered

  • get filtered(): boolean

guildID

  • get guildID(): string

looping

  • get looping(): boolean

paused

  • get paused(): boolean

playing

  • get playing(): boolean

queueLooping

  • get queueLooping(): boolean

status

  • get status(): AudioPlayerStatus

volume

  • get volume(): number

Methods

filter

loop

  • loop(): boolean

loopQueue

  • loopQueue(): boolean

pause

  • pause(): boolean

play

  • play(): Promise<void>

seek

  • seek(seconds: number): Promise<void>
  • Seek into specific duration of the current track

    Parameters

    • seconds: number

      Where to seek (in seconds)

    Returns Promise<void>

setVolume

  • setVolume(volume: number): void

stop

  • stop(): void

unfilter

  • unfilter(): void

Generated using TypeDoc