moonlink.js / Exports
moonlink.js
Table of contents
Classes
- MoonlinkDatabase
- MoonlinkFilters
- MoonlinkManager
- MoonlinkNode
- MoonlinkPlayer
- MoonlinkQueue
- MoonlinkRestFul
- MoonlinkTrack
- Nodes
- Players
- Plugin
- Structure
Interfaces
- ChannelMix
- Distortion
- Equalizer
- Extendable
- IHeaders
- INode
- INodeStats
- IOptions
- Karaoke
- LavalinkResult
- LowPass
- MoonlinkEvents
- MoonlinkTrackOptions
- PlayerInfos
- PlaylistInfo
- PreviousInfosPlayer
- RestOptions
- Rotation
- SearchQuery
- SearchResult
- Timescale
- TrackData
- TrackDataInfo
- TrackInfo
- Tremolo
- Vibrato
- VoiceOptions
- VoicePacket
- VoiceServer
- VoiceState
- connectOptions
- createOptions
- objectTrack
Type Aliases
Variables
Functions
Type Aliases
Constructor
Ƭ Constructor<T
>: (...args
: any
) => T
Type parameters
Name |
---|
T |
Type declaration
• (...args
): T
Parameters
Name | Type |
---|---|
...args | any |
Returns
T
Defined in
Endpoint
Ƭ Endpoint: string
Defined in
LoadType
Ƭ LoadType: "track"
| "playlist"
| "search"
| "empty"
| "error"
Defined in
SearchPlatform
Ƭ SearchPlatform: "youtube"
| "youtubemusic"
| "soundcloud"
| string
Defined in
SortType
Ƭ SortType: "memory"
| "cpuLavalink"
| "cpuSystem"
| "calls"
| "playingPlayers"
| "players"
Defined in
Variables
State
• Const
State: Object
Type declaration
Name | Type |
---|---|
AUTORESUMING | string |
CONNECTED | string |
CONNECTING | string |
DISCONNECTED | string |
DISCONNECTING | string |
MOVING | string |
READY | string |
RECONNECTING | string |
RESUMING | string |
Defined in
version
• Const
version: string
Defined in
Functions
makeRequest
▸ makeRequest<T
>(uri
, options
, data?
): Promise
<T
>
Type parameters
Name |
---|
T |
Parameters
Name | Type |
---|---|
uri | string |
options | RequestOptions | RequestOptions & SecureContextOptions & { checkServerIdentity? : (hostname : string , cert : PeerCertificate ) => Error | undefined ; rejectUnauthorized? : boolean ; servername? : string } & { method? : string } |
data? | Record <string , any > |
Returns
Promise
<T
>