diff --git a/docs/classes/CoffeeLava.html b/docs/classes/CoffeeLava.html index ebed578..4579ad9 100644 --- a/docs/classes/CoffeeLava.html +++ b/docs/classes/CoffeeLava.html @@ -1,19 +1,19 @@ CoffeeLava | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CoffeeLava

The main hub for interacting with Lavalink and using LavaCoffee

-

Hierarchy

Index

Constructors

constructor

Properties

Optional clientID

clientID?: string

Readonly nodes

nodes: Map<string, CoffeeNode> = ...

options

options: LavaOptions

Readonly players

players: Map<string, CoffeePlayer> = ...

Accessors

leastLoadNode

leastUsedNode

Methods

add

Hierarchy

Index

Constructors

constructor

Properties

Optional clientID

clientID?: string

Readonly nodes

nodes: Map<string, CoffeeNode> = ...

options

options: LavaOptions

Readonly players

players: Map<string, CoffeePlayer> = ...

Accessors

leastLoadNode

leastUsedNode

Methods

add

create

create

decodeTrack

  • decodeTrack(track: string): Promise<TrackData>

decodeTrack

  • decodeTrack(track: string): Promise<TrackData>

destroy

  • destroy(guildID: string): void

destroy

  • destroy(guildID: string): void

get

get

init

  • init(clientID: string): void

init

  • init(clientID: string): void

search

search

updateVoiceData

updateVoiceData

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/CoffeeNode.html b/docs/classes/CoffeeNode.html index 0d0fd19..c9897d8 100644 --- a/docs/classes/CoffeeNode.html +++ b/docs/classes/CoffeeNode.html @@ -1,21 +1,21 @@ -CoffeeNode | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CoffeeNode

Hierarchy

Index

Constructors

constructor

Properties

calls

calls: number = 0
+CoffeeNode | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CoffeeNode

Hierarchy

Index

Constructors

constructor

Properties

calls

calls: number = 0

Sums of http request calls since created

-

connected

connected: boolean = false
+

connected

connected: boolean = false

Whether the node already connected via websocket

-

Readonly http

http: Pool
+

Readonly http

http: Pool

The http clients pool for http calls

-

Readonly lava

options

options: NodeOptions
+

Readonly lava

options

options: NodeOptions

The node options

-

Optional socket

socket?: WebSocket
+

Optional socket

socket?: WebSocket

The node websocket if connected

-

stats

stats: NodeStats
+

stats

stats: NodeStats

The node stats

-

Methods

connect

  • connect(): void

Methods

connect

  • connect(): void

destroy

  • destroy(): void

destroy

  • destroy(): void

request

  • request<T>(endpoint: string): Promise<T>

request

  • request<T>(endpoint: string): Promise<T>

send

send

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/CoffeePlayer.html b/docs/classes/CoffeePlayer.html index 2e4b577..0e9a3e2 100644 --- a/docs/classes/CoffeePlayer.html +++ b/docs/classes/CoffeePlayer.html @@ -1,55 +1,55 @@ -CoffeePlayer | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CoffeePlayer

Hierarchy

  • CoffeePlayer

Index

Constructors

constructor

Properties

filters

filters: Filters = {}
+CoffeePlayer | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CoffeePlayer

Hierarchy

  • CoffeePlayer

Index

Constructors

constructor

Properties

filters

filters: Filters = {}

The player filters

-

Readonly lava

+

Readonly lava

The player manager

-

loop

loop: LoopMode = LoopMode.None
+

loop

loop: LoopMode = LoopMode.None

The player loop mode

-

Readonly options

options: PlayerOptions
+

Readonly options

options: PlayerOptions

The player options

-

Optional playOptions

playOptions?: PlayOptions
+

Optional playOptions

playOptions?: PlayOptions

The player play options if its currently playing

-

position

position: number = 0
+

position

position: number = 0

The player position in milliseconds

-

Readonly queue

queue: CoffeeQueue = ...
+

Readonly queue

queue: CoffeeQueue = ...

The queue for the player

-

replaying

replaying: boolean = false
+

replaying

replaying: boolean = false

Whether the player is currently replaying

-

state

state: PlayerStates = PlayerStates.Paused
+

state

state: PlayerStates = PlayerStates.Paused

The player state

-

voice

voice: VoiceUpdatePayload = ...
+

voice

voice: VoiceUpdatePayload = ...

The player voice payload

-

voiceConnected

voiceConnected: boolean = false
+

voiceConnected

voiceConnected: boolean = false

Whether the player is connected to voice on node-side

-

voiceState

voiceState: PlayerVoiceStates = PlayerVoiceStates.Disconnected
+

voiceState

voiceState: PlayerVoiceStates = PlayerVoiceStates.Disconnected

The player voice state

-

Accessors

node

Accessors

node

Methods

connect

  • connect(): void

Methods

connect

  • connect(): void

destroy

  • destroy(): void

destroy

  • destroy(): void

disconnect

  • disconnect(): void

disconnect

  • disconnect(): void

get

  • get<T>(key: string): undefined | T

get

  • get<T>(key: string): undefined | T

patchFilters

  • patchFilters(): void

patchFilters

  • patchFilters(): void

pause

  • pause(pause: boolean): void

pause

  • pause(pause: boolean): void

play

play

seek

  • seek(position: number): void

seek

  • seek(position: number): void

set

  • set(key: string, value: unknown): void

set

  • set(key: string, value: unknown): void

setFilters

setFilters

setLoop

setLoop

setNode

  • setNode(node: string): void

setNode

  • setNode(node: string): void

setVolume

  • setVolume(volume?: number): void

setVolume

  • setVolume(volume?: number): void

stop

  • stop(amount?: number): void

stop

  • stop(amount?: number): void
  • Stops the current track, optionally give an amount to skip to, e.g 5 would play the 5th song

    Parameters

    • Optional amount: number

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/CoffeeQueue.html b/docs/classes/CoffeeQueue.html index 1a04a6e..faa9225 100644 --- a/docs/classes/CoffeeQueue.html +++ b/docs/classes/CoffeeQueue.html @@ -1,23 +1,23 @@ CoffeeQueue | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CoffeeQueue

The player's queue, the current property is the currently playing track, think of the rest as the up-coming tracks

-

Hierarchy

Index

Constructors

constructor

  • Parameters

    • arrayLength: number

    Returns CoffeeQueue

  • Parameters

    Returns CoffeeQueue

Properties

Optional current

+

Hierarchy

Index

Constructors

constructor

  • Parameters

    • arrayLength: number

    Returns CoffeeQueue

  • Parameters

    Returns CoffeeQueue

Properties

Optional current

The current track

-

Optional previous

+

Optional previous

The previous track

-

Accessors

duration

  • get duration(): number

Accessors

duration

  • get duration(): number

size

  • get size(): number

size

  • get size(): number

totalSize

  • get totalSize(): number

totalSize

  • get totalSize(): number

Methods

add

Methods

add

clear

  • clear(): void

clear

  • clear(): void

progress

progress

remove

remove

shuffle

  • shuffle(): void

shuffle

  • shuffle(): void

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/CoffeeTrack.html b/docs/classes/CoffeeTrack.html index b902fc4..0250ccd 100644 --- a/docs/classes/CoffeeTrack.html +++ b/docs/classes/CoffeeTrack.html @@ -1,27 +1,27 @@ -CoffeeTrack | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CoffeeTrack

Hierarchy

  • CoffeeTrack

Implements

Index

Constructors

constructor

Properties

author

author: string
+CoffeeTrack | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CoffeeTrack

Hierarchy

  • CoffeeTrack

Implements

Index

Constructors

constructor

Properties

author

author: string

The author of the track

-

Readonly base64

base64: string
+

Readonly base64

base64: string

The base 64 encoded of track

-

duration

duration: number
+

duration

duration: number

The duration of the track

-

identifier

identifier: string
+

identifier

identifier: string

The identifier of the track

-

isSeekable

isSeekable: boolean
+

isSeekable

isSeekable: boolean

Whether the track is seekable

-

isStream

isStream: boolean
+

isStream

isStream: boolean

Whether the track is a stream

-

Optional Readonly requester

requester?: unknown
+

Optional Readonly requester

requester?: unknown

The requester of the track if any

-

source

source: string
+

source

source: string

The source of the track

-

title

title: string
+

title

title: string

The title of the track

-

url

url: string
+

url

url: string

The url of the track

-

Methods

build

Methods

build

displayThumbnail

  • displayThumbnail(size?: string): undefined | string

displayThumbnail

  • displayThumbnail(size?: string): undefined | string

Static isTrack

Static isTrack

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/UnresolvedTrack.html b/docs/classes/UnresolvedTrack.html index ac74037..2558e30 100644 --- a/docs/classes/UnresolvedTrack.html +++ b/docs/classes/UnresolvedTrack.html @@ -1 +1 @@ -UnresolvedTrack | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UnresolvedTrack

Hierarchy

  • UnresolvedTrack

Index

Constructors

constructor

  • new UnresolvedTrack(title: string, author?: string, duration?: number, requester?: unknown): UnresolvedTrack

Properties

Optional Readonly author

author?: string

Optional Readonly duration

duration?: number

Optional Readonly requester

requester?: unknown

Readonly title

title: string

Methods

Static isUnresolved

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +UnresolvedTrack | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UnresolvedTrack

Hierarchy

  • UnresolvedTrack

Index

Constructors

constructor

  • new UnresolvedTrack(title: string, author?: string, duration?: number, requester?: unknown): UnresolvedTrack

Properties

Optional Readonly author

author?: string

Optional Readonly duration

duration?: number

Optional Readonly requester

requester?: unknown

Readonly title

title: string

Methods

Static isUnresolved

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Utils.ChannelMixUtils.html b/docs/classes/Utils.ChannelMixUtils.html index 2aee6c4..eeb1498 100644 --- a/docs/classes/Utils.ChannelMixUtils.html +++ b/docs/classes/Utils.ChannelMixUtils.html @@ -1,13 +1,13 @@ ChannelMixUtils | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChannelMixUtils

ChannelMix filter builder utility

-

Hierarchy

  • ChannelMixUtils

Index

Constructors

constructor

Properties

Readonly channelMix

channelMix: ChannelMix

enabled

enabled: boolean = false

Methods

build

Hierarchy

  • ChannelMixUtils

Index

Constructors

constructor

Properties

Readonly channelMix

channelMix: ChannelMix

enabled

enabled: boolean = false

Methods

build

setLeftToLeft

setLeftToLeft

setLeftToRight

setLeftToRight

setRightToLeft

setRightToLeft

setRightToRight

setRightToRight

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Utils.DistortionUtils.html b/docs/classes/Utils.DistortionUtils.html index 3718d1b..e030cdc 100644 --- a/docs/classes/Utils.DistortionUtils.html +++ b/docs/classes/Utils.DistortionUtils.html @@ -1,21 +1,21 @@ DistortionUtils | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DistortionUtils

Distortion filter builder utility

-

Hierarchy

  • DistortionUtils

Index

Constructors

constructor

Properties

distortion

distortion: Distortion

enabled

enabled: boolean = false

Methods

build

Hierarchy

  • DistortionUtils

Index

Constructors

constructor

Properties

distortion

distortion: Distortion

enabled

enabled: boolean = false

Methods

build

setCosOffset

setCosOffset

setCosScale

setCosScale

setOffset

setOffset

setScale

setScale

setSinOffset

setSinOffset

setSinScale

setSinScale

setTanOffset

setTanOffset

setTanScale

setTanScale

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Utils.EqualizerUtils.html b/docs/classes/Utils.EqualizerUtils.html index d6660f0..9ed6a85 100644 --- a/docs/classes/Utils.EqualizerUtils.html +++ b/docs/classes/Utils.EqualizerUtils.html @@ -1,9 +1,9 @@ EqualizerUtils | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EqualizerUtils

Equalizer filter builder utility

-

Hierarchy

  • EqualizerUtils

Index

Constructors

constructor

Properties

enabled

enabled: boolean = false

Readonly equalizers

equalizers: Map<number, Equalizer> = ...

Methods

build

Hierarchy

  • EqualizerUtils

Index

Constructors

constructor

Properties

enabled

enabled: boolean = false

Readonly equalizers

equalizers: Map<number, Equalizer> = ...

Methods

build

clear

clear

setBand

setBand

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Utils.FilterUtils.html b/docs/classes/Utils.FilterUtils.html index c57ac5e..820be53 100644 --- a/docs/classes/Utils.FilterUtils.html +++ b/docs/classes/Utils.FilterUtils.html @@ -1,7 +1,7 @@ FilterUtils | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Filters builder utility

-

Hierarchy

  • FilterUtils

Index

Constructors

constructor

Properties

channelMix

channelMix: ChannelMixUtils

distortion

distortion: DistortionUtils

equalizers

equalizers: EqualizerUtils

karaoke

karaoke: KaraokeUtils

lowPass

lowPass: LowPassUtils

rotation

rotation: RotationUtils

timescale

timescale: TimescaleUtils

tremolo

tremolo: TremoloUtils

vibrato

vibrato: VibratoUtils

Optional volume

volume?: number

Methods

build

Hierarchy

  • FilterUtils

Index

Constructors

constructor

Properties

channelMix

channelMix: ChannelMixUtils

distortion

distortion: DistortionUtils

equalizers

equalizers: EqualizerUtils

karaoke

karaoke: KaraokeUtils

lowPass

lowPass: LowPassUtils

rotation

rotation: RotationUtils

timescale

timescale: TimescaleUtils

tremolo

tremolo: TremoloUtils

vibrato

vibrato: VibratoUtils

Optional volume

volume?: number

Methods

build

setVolume

setVolume

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Utils.KaraokeUtils.html b/docs/classes/Utils.KaraokeUtils.html index 33c8bd1..7b50a35 100644 --- a/docs/classes/Utils.KaraokeUtils.html +++ b/docs/classes/Utils.KaraokeUtils.html @@ -1,15 +1,15 @@ KaraokeUtils | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KaraokeUtils

Karaoke filter builder utility

-

Hierarchy

  • KaraokeUtils

Index

Constructors

constructor

Properties

enabled

enabled: boolean = false

Readonly karaoke

karaoke: Karaoke

Methods

build

Hierarchy

  • KaraokeUtils

Index

Constructors

constructor

Properties

enabled

enabled: boolean = false

Readonly karaoke

karaoke: Karaoke

Methods

build

disable

disable

setFilterBand

setFilterBand

setFilterWidth

setFilterWidth

setLevel

setLevel

setMonoLevel

setMonoLevel

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Utils.LowPassUtils.html b/docs/classes/Utils.LowPassUtils.html index 2a7824e..efb7195 100644 --- a/docs/classes/Utils.LowPassUtils.html +++ b/docs/classes/Utils.LowPassUtils.html @@ -1,7 +1,7 @@ LowPassUtils | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LowPassUtils

LowPass filter builder utility

-

Hierarchy

  • LowPassUtils

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

enabled

enabled: boolean = false

Readonly lowPass

lowPass: LowPass

Methods

build

Hierarchy

  • LowPassUtils

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

enabled

enabled: boolean = false

Readonly lowPass

lowPass: LowPass

Methods

build

setSmoothing

setSmoothing

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Utils.RotationUtils.html b/docs/classes/Utils.RotationUtils.html index ee0786a..3529174 100644 --- a/docs/classes/Utils.RotationUtils.html +++ b/docs/classes/Utils.RotationUtils.html @@ -1,7 +1,7 @@ RotationUtils | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RotationUtils

Rotation filter builder utility

-

Hierarchy

  • RotationUtils

Index

Constructors

constructor

Properties

enabled

enabled: boolean = false

Readonly rotation

rotation: Rotation

Methods

build

Hierarchy

  • RotationUtils

Index

Constructors

constructor

Properties

enabled

enabled: boolean = false

Readonly rotation

rotation: Rotation

Methods

build

setRotationSpeed

setRotationSpeed

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Utils.TimescaleUtils.html b/docs/classes/Utils.TimescaleUtils.html index cae38f2..d572ec4 100644 --- a/docs/classes/Utils.TimescaleUtils.html +++ b/docs/classes/Utils.TimescaleUtils.html @@ -1,11 +1,11 @@ TimescaleUtils | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TimescaleUtils

Timescale filter builder utility

-

Hierarchy

  • TimescaleUtils

Index

Constructors

constructor

Properties

enabled

enabled: boolean = false

Readonly timescale

timescale: TimeScale

Methods

build

Hierarchy

  • TimescaleUtils

Index

Constructors

constructor

Properties

enabled

enabled: boolean = false

Readonly timescale

timescale: TimeScale

Methods

build

setPitch

setPitch

setRate

setRate

setSpeed

setSpeed

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Utils.TremoloUtils.html b/docs/classes/Utils.TremoloUtils.html index 52e244d..4a8060f 100644 --- a/docs/classes/Utils.TremoloUtils.html +++ b/docs/classes/Utils.TremoloUtils.html @@ -1,9 +1,9 @@ TremoloUtils | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TremoloUtils

Tremolo filter builder utility

-

Hierarchy

  • TremoloUtils

Index

Constructors

constructor

Properties

enabled

enabled: boolean = false

Readonly tremolo

tremolo: Tremolo

Methods

build

Hierarchy

  • TremoloUtils

Index

Constructors

constructor

Properties

enabled

enabled: boolean = false

Readonly tremolo

tremolo: Tremolo

Methods

build

setDepth

setDepth

setFrequency

setFrequency

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/Utils.VibratoUtils.html b/docs/classes/Utils.VibratoUtils.html index a4e0aeb..a66335d 100644 --- a/docs/classes/Utils.VibratoUtils.html +++ b/docs/classes/Utils.VibratoUtils.html @@ -1,9 +1,9 @@ VibratoUtils | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class VibratoUtils

Vibrato filter builder utility

-

Hierarchy

  • VibratoUtils

Index

Constructors

constructor

Properties

enabled

enabled: boolean = false

Readonly vibrato

vibrato: Vibrato

Methods

build

Hierarchy

  • VibratoUtils

Index

Constructors

constructor

Properties

enabled

enabled: boolean = false

Readonly vibrato

vibrato: Vibrato

Methods

build

setDepth

setDepth

setFrequency

setFrequency

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/enums/Utils.EventTypes.html b/docs/enums/Utils.EventTypes.html index 6123de0..b495e1b 100644 --- a/docs/enums/Utils.EventTypes.html +++ b/docs/enums/Utils.EventTypes.html @@ -1 +1 @@ -EventTypes | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration EventTypes

Index

Enumeration members

TrackEnd

TrackEnd = "TrackEndEvent"

TrackException

TrackException = "TrackExceptionEvent"

TrackStart

TrackStart = "TrackStartEvent"

TrackStuck

TrackStuck = "TrackStuckEvent"

WebSocketClosed

WebSocketClosed = "WebSocketClosedEvent"

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +EventTypes | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration EventTypes

Index

Enumeration members

TrackEnd

TrackEnd = "TrackEndEvent"

TrackException

TrackException = "TrackExceptionEvent"

TrackStart

TrackStart = "TrackStartEvent"

TrackStuck

TrackStuck = "TrackStuckEvent"

WebSocketClosed

WebSocketClosed = "WebSocketClosedEvent"

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/enums/Utils.LoadTypes.html b/docs/enums/Utils.LoadTypes.html index 2f969ef..9b029a4 100644 --- a/docs/enums/Utils.LoadTypes.html +++ b/docs/enums/Utils.LoadTypes.html @@ -1 +1 @@ -LoadTypes | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration LoadTypes

Index

Enumeration members

LoadFailed

LoadFailed = "LOAD_FAILED"

NoMatches

NoMatches = "NO_MATCHES"

PlaylistLoaded

PlaylistLoaded = "PLAYLIST_LOADED"

SearchResult

SearchResult = "SEARCH_RESULT"

TrackLoaded

TrackLoaded = "TRACK_LOADED"

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +LoadTypes | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration LoadTypes

Index

Enumeration members

LoadFailed

LoadFailed = "LOAD_FAILED"

NoMatches

NoMatches = "NO_MATCHES"

PlaylistLoaded

PlaylistLoaded = "PLAYLIST_LOADED"

SearchResult

SearchResult = "SEARCH_RESULT"

TrackLoaded

TrackLoaded = "TRACK_LOADED"

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/enums/Utils.LoopMode.html b/docs/enums/Utils.LoopMode.html index 3a545c2..8aab1db 100644 --- a/docs/enums/Utils.LoopMode.html +++ b/docs/enums/Utils.LoopMode.html @@ -1 +1 @@ -LoopMode | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration LoopMode

Index

Enumeration members

Enumeration members

None

None = 0

Queue

Queue = 2

Track

Track = 1

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +LoopMode | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration LoopMode

Index

Enumeration members

Enumeration members

None

None = 0

Queue

Queue = 2

Track

Track = 1

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/enums/Utils.OpCodes.html b/docs/enums/Utils.OpCodes.html index 3d38d1b..c0f9d3b 100644 --- a/docs/enums/Utils.OpCodes.html +++ b/docs/enums/Utils.OpCodes.html @@ -1 +1 @@ -OpCodes | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration OpCodes

Index

Enumeration members

Destroy

Destroy = "destroy"

Filters

Filters = "filters"

Pause

Pause = "pause"

Play

Play = "play"

Seek

Seek = "seek"

Stop

Stop = "stop"

VoiceUpdate

VoiceUpdate = "voiceUpdate"

Volume

Volume = "volume"

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +OpCodes | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration OpCodes

Index

Enumeration members

Destroy

Destroy = "destroy"

Filters

Filters = "filters"

Pause

Pause = "pause"

Play

Play = "play"

Seek

Seek = "seek"

Stop

Stop = "stop"

VoiceUpdate

VoiceUpdate = "voiceUpdate"

Volume

Volume = "volume"

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/enums/Utils.OpIncoming.html b/docs/enums/Utils.OpIncoming.html index 538fd5f..01c18a0 100644 --- a/docs/enums/Utils.OpIncoming.html +++ b/docs/enums/Utils.OpIncoming.html @@ -1 +1 @@ -OpIncoming | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration OpIncoming

Index

Enumeration members

Enumeration members

Event

Event = "event"

PlayerUpdate

PlayerUpdate = "playerUpdate"

Stats

Stats = "stats"

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +OpIncoming | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration OpIncoming

Index

Enumeration members

Enumeration members

Event

Event = "event"

PlayerUpdate

PlayerUpdate = "playerUpdate"

Stats

Stats = "stats"

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/enums/Utils.PlayerStates.html b/docs/enums/Utils.PlayerStates.html index 8faf0e7..38fdc85 100644 --- a/docs/enums/Utils.PlayerStates.html +++ b/docs/enums/Utils.PlayerStates.html @@ -1 +1 @@ -PlayerStates | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration PlayerStates

Index

Enumeration members

Enumeration members

Destroyed

Destroyed = 2

Paused

Paused = 1

Playing

Playing = 0

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +PlayerStates | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration PlayerStates

Index

Enumeration members

Enumeration members

Destroyed

Destroyed = 2

Paused

Paused = 1

Playing

Playing = 0

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/enums/Utils.PlayerVoiceStates.html b/docs/enums/Utils.PlayerVoiceStates.html index 057b911..00a423b 100644 --- a/docs/enums/Utils.PlayerVoiceStates.html +++ b/docs/enums/Utils.PlayerVoiceStates.html @@ -1 +1 @@ -PlayerVoiceStates | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration PlayerVoiceStates

Index

Enumeration members

Connected

Connected = 1

Connecting

Connecting = 0

Disconnected

Disconnected = 3

Disconnecting

Disconnecting = 2

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +PlayerVoiceStates | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration PlayerVoiceStates

Index

Enumeration members

Connected

Connected = 1

Connecting

Connecting = 0

Disconnected

Disconnected = 3

Disconnecting

Disconnecting = 2

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 042017d..66c8c56 100644 --- a/docs/index.html +++ b/docs/index.html @@ -146,7 +146,7 @@

Replaying

Filters

-
/**
* LavaCoffee also supports lavalink filters
* it also got filters builder to manage filters easier
*/

// Importing filters builder
import { CoffeeFilters } from "lavacoffee"

// Creating filters
const filters = new CoffeeFilters()

// Example on setting equalizer
filters.equalizers
.setBand(2, 1.3)
.setBand(6, -2)

// Example to enable karaoke filter
filters.karaoke.enabled = true

// Example on setting 2x speed and half pitch
filters.timescale
.setSpeed(2)
.setPitch(0.5)

// Example on setting vibrato filter
filters.vibrato
.setFrequency(2)
.setDepth(0.5)

// Example on setting the audio to only left channel
filters.channelMix
.setRightToLeft(1)
.setRightToRight(0)

// Set the filters
player.setFilters(filters) +
/**
* LavaCoffee also supports lavalink filters
* it also got filters builder to manage filters easier
*/

// Importing filters builder
import { CoffeeFilters } from "lavacoffee"

// Creating filters
const filters = new CoffeeFilters()

// Example on setting equalizer
filters.equalizers
.setBand(2, 0.25)
.setBand(6, -0.25)

// Example to enable karaoke filter
filters.karaoke.enabled = true

// Example on setting 2x speed and half pitch
filters.timescale
.setSpeed(2)
.setPitch(0.5)

// Example on setting vibrato filter
filters.vibrato
.setFrequency(2)
.setDepth(0.5)

// Example on setting the audio to only left channel
filters.channelMix
.setRightToLeft(1)
.setRightToRight(0)

// Set the filters
player.setFilters(filters)
diff --git a/docs/interfaces/ITrack.html b/docs/interfaces/ITrack.html index e7286a5..f805da3 100644 --- a/docs/interfaces/ITrack.html +++ b/docs/interfaces/ITrack.html @@ -1,17 +1,17 @@ -ITrack | lavacoffee

Interface ITrack

Hierarchy

  • ITrack

Implemented by

Index

Properties

author

author: string
+ITrack | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ITrack

Hierarchy

  • ITrack

Implemented by

Index

Properties

author

author: string

The author of the track

-

duration

duration: number
+

duration

duration: number

The duration of the track

-

identifier

identifier: string
+

identifier

identifier: string

The identifier of the track

-

isSeekable

isSeekable: boolean
+

isSeekable

isSeekable: boolean

Whether the track is seekable

-

isStream

isStream: boolean
+

isStream

isStream: boolean

Whether the track is a stream

-

source

source: string
+

source

source: string

The source of the track

-

title

title: string
+

title

title: string

The title of the track

-

url

url: string
+

url

url: string

The url of the track

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/LavaEvents.html b/docs/interfaces/LavaEvents.html index af4c023..1bf7170 100644 --- a/docs/interfaces/LavaEvents.html +++ b/docs/interfaces/LavaEvents.html @@ -1,39 +1,39 @@ -LavaEvents | lavacoffee
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LavaEvents

Hierarchy

  • LavaEvents

Index

Methods

nodeConnect