magmastream 2.9.0-dev.39 → 2.9.0-dev.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +427 -446
- package/dist/structures/Enums.js +41 -8
- package/dist/structures/Filters.js +54 -82
- package/dist/structures/Node.js +11 -5
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -17,6 +17,249 @@ interface Band {
|
|
|
17
17
|
gain: number;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
/**
|
|
21
|
+
* State Storage Enum
|
|
22
|
+
*/
|
|
23
|
+
declare enum StateStorageType {
|
|
24
|
+
Memory = "memory",
|
|
25
|
+
Redis = "redis",
|
|
26
|
+
JSON = "json"
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* AutoPlay Platform Enum
|
|
30
|
+
*/
|
|
31
|
+
declare enum AutoPlayPlatform {
|
|
32
|
+
Spotify = "spotify",
|
|
33
|
+
Deezer = "deezer",
|
|
34
|
+
SoundCloud = "soundcloud",
|
|
35
|
+
Tidal = "tidal",
|
|
36
|
+
VKMusic = "vkmusic",
|
|
37
|
+
Qobuz = "qobuz",
|
|
38
|
+
YouTube = "youtube"
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* State Types Enum
|
|
42
|
+
*/
|
|
43
|
+
declare enum StateTypes {
|
|
44
|
+
Connected = "CONNECTED",
|
|
45
|
+
Connecting = "CONNECTING",
|
|
46
|
+
Disconnected = "DISCONNECTED",
|
|
47
|
+
Disconnecting = "DISCONNECTING",
|
|
48
|
+
Destroying = "DESTROYING"
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Load Types Enum
|
|
52
|
+
*/
|
|
53
|
+
declare enum LoadTypes {
|
|
54
|
+
Track = "track",
|
|
55
|
+
Playlist = "playlist",
|
|
56
|
+
Search = "search",
|
|
57
|
+
Empty = "empty",
|
|
58
|
+
Error = "error",
|
|
59
|
+
/** Nodelink */
|
|
60
|
+
Album = "album",
|
|
61
|
+
/** Nodelink */
|
|
62
|
+
Artist = "artist",
|
|
63
|
+
/** Nodelink */
|
|
64
|
+
Station = "station",
|
|
65
|
+
/** Nodelink */
|
|
66
|
+
Podcast = "podcast",
|
|
67
|
+
/** Nodelink */
|
|
68
|
+
Show = "show",
|
|
69
|
+
/** Nodelink */
|
|
70
|
+
Short = "short"
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Search Platform Enum
|
|
74
|
+
*/
|
|
75
|
+
declare enum SearchPlatform {
|
|
76
|
+
AppleMusic = "amsearch",
|
|
77
|
+
Bandcamp = "bcsearch",
|
|
78
|
+
Deezer = "dzsearch",
|
|
79
|
+
Jiosaavn = "jssearch",
|
|
80
|
+
Qobuz = "qbsearch",
|
|
81
|
+
SoundCloud = "scsearch",
|
|
82
|
+
Spotify = "spsearch",
|
|
83
|
+
Tidal = "tdsearch",
|
|
84
|
+
VKMusic = "vksearch",
|
|
85
|
+
YouTube = "ytsearch",
|
|
86
|
+
YouTubeMusic = "ytmsearch"
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Player State Event Types Enum
|
|
90
|
+
*/
|
|
91
|
+
declare enum PlayerStateEventTypes {
|
|
92
|
+
AutoPlayChange = "playerAutoplay",
|
|
93
|
+
ConnectionChange = "playerConnection",
|
|
94
|
+
RepeatChange = "playerRepeat",
|
|
95
|
+
PauseChange = "playerPause",
|
|
96
|
+
QueueChange = "queueChange",
|
|
97
|
+
TrackChange = "trackChange",
|
|
98
|
+
VolumeChange = "volumeChange",
|
|
99
|
+
ChannelChange = "channelChange",
|
|
100
|
+
PlayerCreate = "playerCreate",
|
|
101
|
+
PlayerDestroy = "playerDestroy"
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Track Source Types Enum
|
|
105
|
+
*/
|
|
106
|
+
declare enum TrackSourceTypes {
|
|
107
|
+
AppleMusic = "applemusic",
|
|
108
|
+
Bandcamp = "bandcamp",
|
|
109
|
+
Deezer = "deezer",
|
|
110
|
+
Jiosaavn = "jiosaavn",
|
|
111
|
+
Qobuz = "qobuz",
|
|
112
|
+
SoundCloud = "soundcloud",
|
|
113
|
+
Spotify = "spotify",
|
|
114
|
+
Tidal = "tidal",
|
|
115
|
+
VKMusic = "vkmusic",
|
|
116
|
+
YouTube = "youtube"
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Use Node Options Enum
|
|
120
|
+
*/
|
|
121
|
+
declare enum UseNodeOptions {
|
|
122
|
+
LeastLoad = "leastLoad",
|
|
123
|
+
LeastPlayers = "leastPlayers"
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Track Partial Enum
|
|
127
|
+
*/
|
|
128
|
+
declare enum TrackPartial {
|
|
129
|
+
/** The base64 encoded string of the track */
|
|
130
|
+
Track = "track",
|
|
131
|
+
/** The title of the track */
|
|
132
|
+
Title = "title",
|
|
133
|
+
/** The track identifier */
|
|
134
|
+
Identifier = "identifier",
|
|
135
|
+
/** The author of the track */
|
|
136
|
+
Author = "author",
|
|
137
|
+
/** The length of the track in milliseconds */
|
|
138
|
+
Duration = "duration",
|
|
139
|
+
/** The ISRC of the track */
|
|
140
|
+
Isrc = "isrc",
|
|
141
|
+
/** Whether the track is seekable */
|
|
142
|
+
IsSeekable = "isSeekable",
|
|
143
|
+
/** Whether the track is a stream */
|
|
144
|
+
IsStream = "isStream",
|
|
145
|
+
/** The URI of the track */
|
|
146
|
+
Uri = "uri",
|
|
147
|
+
/** The artwork URL of the track */
|
|
148
|
+
ArtworkUrl = "artworkUrl",
|
|
149
|
+
/** The source name of the track */
|
|
150
|
+
SourceName = "sourceName",
|
|
151
|
+
/** The thumbnail of the track */
|
|
152
|
+
ThumbNail = "thumbnail",
|
|
153
|
+
/** The requester of the track */
|
|
154
|
+
Requester = "requester",
|
|
155
|
+
/** The plugin info of the track */
|
|
156
|
+
PluginInfo = "pluginInfo",
|
|
157
|
+
/** The custom data of the track */
|
|
158
|
+
CustomData = "customData"
|
|
159
|
+
}
|
|
160
|
+
declare enum ManagerEventTypes {
|
|
161
|
+
ChapterStarted = "chapterStarted",
|
|
162
|
+
ChaptersLoaded = "chaptersLoaded",
|
|
163
|
+
Debug = "debug",
|
|
164
|
+
LyricsFound = "lyricsFound",
|
|
165
|
+
LyricsLine = "lyricsLine",
|
|
166
|
+
LyricsNotFound = "lyricsNotFound",
|
|
167
|
+
NodeConnect = "nodeConnect",
|
|
168
|
+
NodeCreate = "nodeCreate",
|
|
169
|
+
NodeDestroy = "nodeDestroy",
|
|
170
|
+
NodeDisconnect = "nodeDisconnect",
|
|
171
|
+
NodeError = "nodeError",
|
|
172
|
+
NodeRaw = "nodeRaw",
|
|
173
|
+
NodeReconnect = "nodeReconnect",
|
|
174
|
+
PlayerCreate = "playerCreate",
|
|
175
|
+
PlayerDestroy = "playerDestroy",
|
|
176
|
+
PlayerDisconnect = "playerDisconnect",
|
|
177
|
+
PlayerMove = "playerMove",
|
|
178
|
+
PlayerRestored = "playerRestored",
|
|
179
|
+
PlayerStateUpdate = "playerStateUpdate",
|
|
180
|
+
QueueEnd = "queueEnd",
|
|
181
|
+
RestoreComplete = "restoreComplete",
|
|
182
|
+
SegmentSkipped = "segmentSkipped",
|
|
183
|
+
SegmentsLoaded = "segmentsLoaded",
|
|
184
|
+
SocketClosed = "socketClosed",
|
|
185
|
+
TrackEnd = "trackEnd",
|
|
186
|
+
TrackError = "trackError",
|
|
187
|
+
TrackStart = "trackStart",
|
|
188
|
+
TrackStuck = "trackStuck",
|
|
189
|
+
/** Nodelink */
|
|
190
|
+
VoiceReceiverDisconnect = "voiceReceiverDisconnect",
|
|
191
|
+
/** Nodelink */
|
|
192
|
+
VoiceReceiverConnect = "voiceReceiverConnect",
|
|
193
|
+
/** Nodelink */
|
|
194
|
+
VoiceReceiverError = "voiceReceiverError",
|
|
195
|
+
/** Nodelink */
|
|
196
|
+
VoiceReceiverStartSpeaking = "voiceReceiverStartSpeaking",
|
|
197
|
+
/** Nodelink */
|
|
198
|
+
VoiceReceiverEndSpeaking = "voiceReceiverEndSpeaking"
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* Track End Reason Enum
|
|
202
|
+
*/
|
|
203
|
+
declare enum TrackEndReasonTypes {
|
|
204
|
+
Finished = "finished",
|
|
205
|
+
LoadFailed = "loadFailed",
|
|
206
|
+
Stopped = "stopped",
|
|
207
|
+
Replaced = "replaced",
|
|
208
|
+
Cleanup = "cleanup"
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Severity Types Enum
|
|
212
|
+
*/
|
|
213
|
+
declare enum SeverityTypes {
|
|
214
|
+
Common = "common",
|
|
215
|
+
Suspicious = "suspicious",
|
|
216
|
+
Fault = "fault"
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* SponsorBlock Segment Enum
|
|
220
|
+
*/
|
|
221
|
+
declare enum SponsorBlockSegment {
|
|
222
|
+
Filler = "filler",
|
|
223
|
+
Interaction = "interaction",
|
|
224
|
+
Intro = "intro",
|
|
225
|
+
MusicOfftopic = "music_offtopic",
|
|
226
|
+
Outro = "outro",
|
|
227
|
+
Preview = "preview",
|
|
228
|
+
SelfPromo = "selfpromo",
|
|
229
|
+
Sponsor = "sponsor"
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* Available Filters Enum
|
|
233
|
+
*/
|
|
234
|
+
declare enum AvailableFilters {
|
|
235
|
+
BassBoost = "bassboost",
|
|
236
|
+
China = "china",
|
|
237
|
+
Chipmunk = "chipmunk",
|
|
238
|
+
Darthvader = "darthvader",
|
|
239
|
+
Daycore = "daycore",
|
|
240
|
+
Demon = "demon",
|
|
241
|
+
Distort = "distort",
|
|
242
|
+
Doubletime = "doubletime",
|
|
243
|
+
Earrape = "earrape",
|
|
244
|
+
EightD = "eightD",
|
|
245
|
+
Electronic = "electronic",
|
|
246
|
+
Nightcore = "nightcore",
|
|
247
|
+
Party = "party",
|
|
248
|
+
Pop = "pop",
|
|
249
|
+
Radio = "radio",
|
|
250
|
+
SetDistortion = "setDistortion",
|
|
251
|
+
SetKaraoke = "setKaraoke",
|
|
252
|
+
SetRotation = "setRotation",
|
|
253
|
+
SetTimescale = "setTimescale",
|
|
254
|
+
Slowmo = "slowmo",
|
|
255
|
+
Soft = "soft",
|
|
256
|
+
TrebleBass = "trebleBass",
|
|
257
|
+
Tremolo = "tremolo",
|
|
258
|
+
TV = "tv",
|
|
259
|
+
Vaporwave = "vaporwave",
|
|
260
|
+
Vibrato = "vibrato"
|
|
261
|
+
}
|
|
262
|
+
|
|
20
263
|
/** Handles the requests sent to the Lavalink REST API. */
|
|
21
264
|
declare class Rest {
|
|
22
265
|
/** The Node that this Rest instance is connected to. */
|
|
@@ -461,341 +704,130 @@ declare class RedisQueue implements IQueue {
|
|
|
461
704
|
* @returns The queue key.
|
|
462
705
|
*/
|
|
463
706
|
private get queueKey();
|
|
464
|
-
/**
|
|
465
|
-
* @returns The current key.
|
|
466
|
-
*/
|
|
467
|
-
private get currentKey();
|
|
468
|
-
/**
|
|
469
|
-
* @returns The previous key.
|
|
470
|
-
*/
|
|
471
|
-
private get previousKey();
|
|
472
|
-
/**
|
|
473
|
-
* Helper to serialize/deserialize Track
|
|
474
|
-
*/
|
|
475
|
-
private serialize;
|
|
476
|
-
/**
|
|
477
|
-
* Helper to serialize/deserialize Track
|
|
478
|
-
*/
|
|
479
|
-
private deserialize;
|
|
480
|
-
/**
|
|
481
|
-
* @returns The current track.
|
|
482
|
-
*/
|
|
483
|
-
getCurrent(): Promise<Track | null>;
|
|
484
|
-
/**
|
|
485
|
-
* @param track The track to set.
|
|
486
|
-
*/
|
|
487
|
-
setCurrent(track: Track | null): Promise<void>;
|
|
488
|
-
/**
|
|
489
|
-
* @returns The previous tracks.
|
|
490
|
-
*/
|
|
491
|
-
getPrevious(): Promise<Track[]>;
|
|
492
|
-
/**
|
|
493
|
-
* @param track The track to add.
|
|
494
|
-
*/
|
|
495
|
-
addPrevious(track: Track | Track[]): Promise<void>;
|
|
496
|
-
/**
|
|
497
|
-
* @param track The track to set.
|
|
498
|
-
*/
|
|
499
|
-
setPrevious(track: Track | Track[]): Promise<void>;
|
|
500
|
-
/**
|
|
501
|
-
* @returns The newest track.
|
|
502
|
-
*/
|
|
503
|
-
popPrevious(): Promise<Track | null>;
|
|
504
|
-
/**
|
|
505
|
-
* Clears the previous tracks.
|
|
506
|
-
*/
|
|
507
|
-
clearPrevious(): Promise<void>;
|
|
508
|
-
/**
|
|
509
|
-
* @param track The track or tracks to add. Can be a single `Track` or an array of `Track`s.
|
|
510
|
-
* @param [offset=null] The position to add the track(s) at. If not provided, the track(s) will be added at the end of the queue.
|
|
511
|
-
*/
|
|
512
|
-
add(track: Track | Track[], offset?: number): Promise<void>;
|
|
513
|
-
/**
|
|
514
|
-
* @param position The position to remove the track at.
|
|
515
|
-
* @param end The end position to remove the track at.
|
|
516
|
-
*/
|
|
517
|
-
remove(position?: number): Promise<Track[]>;
|
|
518
|
-
remove(start: number, end: number): Promise<Track[]>;
|
|
519
|
-
/**
|
|
520
|
-
* Clears the queue.
|
|
521
|
-
*/
|
|
522
|
-
clear(): Promise<void>;
|
|
523
|
-
/**
|
|
524
|
-
* @returns The size of the queue.
|
|
525
|
-
*/
|
|
526
|
-
size(): Promise<number>;
|
|
527
|
-
/**
|
|
528
|
-
* @returns The total size of tracks in the queue including the current track.
|
|
529
|
-
*/
|
|
530
|
-
totalSize(): Promise<number>;
|
|
531
|
-
/**
|
|
532
|
-
* @returns The total duration of the queue in milliseconds.
|
|
533
|
-
* This includes the duration of the currently playing track.
|
|
534
|
-
*/
|
|
535
|
-
duration(): Promise<number>;
|
|
536
|
-
/**
|
|
537
|
-
* Shuffles the queue.
|
|
538
|
-
*/
|
|
539
|
-
shuffle(): Promise<void>;
|
|
540
|
-
/**
|
|
541
|
-
* Shuffles the queue, but keeps the tracks of the same user together.
|
|
542
|
-
*/
|
|
543
|
-
userBlockShuffle(): Promise<void>;
|
|
544
|
-
/**
|
|
545
|
-
* Shuffles the queue round-robin style.
|
|
546
|
-
*/
|
|
547
|
-
roundRobinShuffle(): Promise<void>;
|
|
548
|
-
/**
|
|
549
|
-
* Removes the first track from the queue.
|
|
550
|
-
*/
|
|
551
|
-
dequeue(): Promise<Track | undefined>;
|
|
552
|
-
/**
|
|
553
|
-
* Adds a track to the front of the queue.
|
|
554
|
-
*/
|
|
555
|
-
enqueueFront(track: Track | Track[]): Promise<void>;
|
|
556
|
-
/**
|
|
557
|
-
* @returns The tracks in the queue.
|
|
558
|
-
*/
|
|
559
|
-
getTracks(): Promise<Track[]>;
|
|
560
|
-
/**
|
|
561
|
-
* @returns The tracks in the queue from the start to the end.
|
|
562
|
-
*/
|
|
563
|
-
getSlice(start?: number, end?: number): Promise<Track[]>;
|
|
564
|
-
/**
|
|
565
|
-
* Modifies the queue at the specified index.
|
|
566
|
-
*/
|
|
567
|
-
modifyAt(start: number, deleteCount?: number, ...items: Track[]): Promise<Track[]>;
|
|
568
|
-
/**
|
|
569
|
-
* @returns The tracks in the queue after the specified index.
|
|
570
|
-
*/
|
|
571
|
-
mapAsync<T>(callback: (track: Track, index: number, array: Track[]) => T): Promise<T[]>;
|
|
572
|
-
/**
|
|
573
|
-
* @returns The tracks in the queue that match the specified condition.
|
|
574
|
-
*/
|
|
575
|
-
filterAsync(callback: (track: Track, index: number, array: Track[]) => boolean): Promise<Track[]>;
|
|
576
|
-
/**
|
|
577
|
-
* @returns The first track in the queue that matches the specified condition.
|
|
578
|
-
*/
|
|
579
|
-
findAsync(callback: (track: Track, index: number, array: Track[]) => boolean): Promise<Track | undefined>;
|
|
580
|
-
/**
|
|
581
|
-
* @returns Whether any tracks in the queue match the specified condition.
|
|
582
|
-
*/
|
|
583
|
-
someAsync(callback: (track: Track, index: number, array: Track[]) => boolean): Promise<boolean>;
|
|
584
|
-
/**
|
|
585
|
-
* @returns Whether all tracks in the queue match the specified condition.
|
|
586
|
-
*/
|
|
587
|
-
everyAsync(callback: (track: Track, index: number, array: Track[]) => boolean): Promise<boolean>;
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
/**
|
|
591
|
-
* State Storage Enum
|
|
592
|
-
*/
|
|
593
|
-
declare enum StateStorageType {
|
|
594
|
-
Memory = "memory",
|
|
595
|
-
Redis = "redis",
|
|
596
|
-
JSON = "json"
|
|
597
|
-
}
|
|
598
|
-
/**
|
|
599
|
-
* AutoPlay Platform Enum
|
|
600
|
-
*/
|
|
601
|
-
declare enum AutoPlayPlatform {
|
|
602
|
-
Spotify = "spotify",
|
|
603
|
-
Deezer = "deezer",
|
|
604
|
-
SoundCloud = "soundcloud",
|
|
605
|
-
Tidal = "tidal",
|
|
606
|
-
VKMusic = "vkmusic",
|
|
607
|
-
Qobuz = "qobuz",
|
|
608
|
-
YouTube = "youtube"
|
|
609
|
-
}
|
|
610
|
-
/**
|
|
611
|
-
* State Types Enum
|
|
612
|
-
*/
|
|
613
|
-
declare enum StateTypes {
|
|
614
|
-
Connected = "CONNECTED",
|
|
615
|
-
Connecting = "CONNECTING",
|
|
616
|
-
Disconnected = "DISCONNECTED",
|
|
617
|
-
Disconnecting = "DISCONNECTING",
|
|
618
|
-
Destroying = "DESTROYING"
|
|
619
|
-
}
|
|
620
|
-
/**
|
|
621
|
-
* Load Types Enum
|
|
622
|
-
*/
|
|
623
|
-
declare enum LoadTypes {
|
|
624
|
-
Track = "track",
|
|
625
|
-
Playlist = "playlist",
|
|
626
|
-
Search = "search",
|
|
627
|
-
Empty = "empty",
|
|
628
|
-
Error = "error",
|
|
629
|
-
/** Nodelink */
|
|
630
|
-
Album = "album",
|
|
631
|
-
/** Nodelink */
|
|
632
|
-
Artist = "artist",
|
|
633
|
-
/** Nodelink */
|
|
634
|
-
Station = "station",
|
|
635
|
-
/** Nodelink */
|
|
636
|
-
Podcast = "podcast",
|
|
637
|
-
/** Nodelink */
|
|
638
|
-
Show = "show",
|
|
639
|
-
/** Nodelink */
|
|
640
|
-
Short = "short"
|
|
641
|
-
}
|
|
642
|
-
/**
|
|
643
|
-
* Search Platform Enum
|
|
644
|
-
*/
|
|
645
|
-
declare enum SearchPlatform {
|
|
646
|
-
AppleMusic = "amsearch",
|
|
647
|
-
Bandcamp = "bcsearch",
|
|
648
|
-
Deezer = "dzsearch",
|
|
649
|
-
Jiosaavn = "jssearch",
|
|
650
|
-
Qobuz = "qbsearch",
|
|
651
|
-
SoundCloud = "scsearch",
|
|
652
|
-
Spotify = "spsearch",
|
|
653
|
-
Tidal = "tdsearch",
|
|
654
|
-
VKMusic = "vksearch",
|
|
655
|
-
YouTube = "ytsearch",
|
|
656
|
-
YouTubeMusic = "ytmsearch"
|
|
657
|
-
}
|
|
658
|
-
/**
|
|
659
|
-
* Player State Event Types Enum
|
|
660
|
-
*/
|
|
661
|
-
declare enum PlayerStateEventTypes {
|
|
662
|
-
AutoPlayChange = "playerAutoplay",
|
|
663
|
-
ConnectionChange = "playerConnection",
|
|
664
|
-
RepeatChange = "playerRepeat",
|
|
665
|
-
PauseChange = "playerPause",
|
|
666
|
-
QueueChange = "queueChange",
|
|
667
|
-
TrackChange = "trackChange",
|
|
668
|
-
VolumeChange = "volumeChange",
|
|
669
|
-
ChannelChange = "channelChange",
|
|
670
|
-
PlayerCreate = "playerCreate",
|
|
671
|
-
PlayerDestroy = "playerDestroy"
|
|
672
|
-
}
|
|
673
|
-
/**
|
|
674
|
-
* Track Source Types Enum
|
|
675
|
-
*/
|
|
676
|
-
declare enum TrackSourceTypes {
|
|
677
|
-
AppleMusic = "applemusic",
|
|
678
|
-
Bandcamp = "bandcamp",
|
|
679
|
-
Deezer = "deezer",
|
|
680
|
-
Jiosaavn = "jiosaavn",
|
|
681
|
-
SoundCloud = "soundcloud",
|
|
682
|
-
Spotify = "spotify",
|
|
683
|
-
Tidal = "tidal",
|
|
684
|
-
VKMusic = "vkmusic",
|
|
685
|
-
YouTube = "youtube"
|
|
686
|
-
}
|
|
687
|
-
/**
|
|
688
|
-
* Use Node Options Enum
|
|
689
|
-
*/
|
|
690
|
-
declare enum UseNodeOptions {
|
|
691
|
-
LeastLoad = "leastLoad",
|
|
692
|
-
LeastPlayers = "leastPlayers"
|
|
693
|
-
}
|
|
694
|
-
/**
|
|
695
|
-
* Track Partial Enum
|
|
696
|
-
*/
|
|
697
|
-
declare enum TrackPartial {
|
|
698
|
-
/** The base64 encoded string of the track */
|
|
699
|
-
Track = "track",
|
|
700
|
-
/** The title of the track */
|
|
701
|
-
Title = "title",
|
|
702
|
-
/** The track identifier */
|
|
703
|
-
Identifier = "identifier",
|
|
704
|
-
/** The author of the track */
|
|
705
|
-
Author = "author",
|
|
706
|
-
/** The length of the track in milliseconds */
|
|
707
|
-
Duration = "duration",
|
|
708
|
-
/** The ISRC of the track */
|
|
709
|
-
Isrc = "isrc",
|
|
710
|
-
/** Whether the track is seekable */
|
|
711
|
-
IsSeekable = "isSeekable",
|
|
712
|
-
/** Whether the track is a stream */
|
|
713
|
-
IsStream = "isStream",
|
|
714
|
-
/** The URI of the track */
|
|
715
|
-
Uri = "uri",
|
|
716
|
-
/** The artwork URL of the track */
|
|
717
|
-
ArtworkUrl = "artworkUrl",
|
|
718
|
-
/** The source name of the track */
|
|
719
|
-
SourceName = "sourceName",
|
|
720
|
-
/** The thumbnail of the track */
|
|
721
|
-
ThumbNail = "thumbnail",
|
|
722
|
-
/** The requester of the track */
|
|
723
|
-
Requester = "requester",
|
|
724
|
-
/** The plugin info of the track */
|
|
725
|
-
PluginInfo = "pluginInfo",
|
|
726
|
-
/** The custom data of the track */
|
|
727
|
-
CustomData = "customData"
|
|
728
|
-
}
|
|
729
|
-
declare enum ManagerEventTypes {
|
|
730
|
-
ChapterStarted = "chapterStarted",
|
|
731
|
-
ChaptersLoaded = "chaptersLoaded",
|
|
732
|
-
Debug = "debug",
|
|
733
|
-
LyricsFoundEvent = "lyricsFoundEvent",
|
|
734
|
-
LyricsLineEvent = "lyricsLineEvent",
|
|
735
|
-
LyricsNotFoundEvent = "lyricsNotFoundEvent",
|
|
736
|
-
NodeConnect = "nodeConnect",
|
|
737
|
-
NodeCreate = "nodeCreate",
|
|
738
|
-
NodeDestroy = "nodeDestroy",
|
|
739
|
-
NodeDisconnect = "nodeDisconnect",
|
|
740
|
-
NodeError = "nodeError",
|
|
741
|
-
NodeRaw = "nodeRaw",
|
|
742
|
-
NodeReconnect = "nodeReconnect",
|
|
743
|
-
PlayerCreate = "playerCreate",
|
|
744
|
-
PlayerDestroy = "playerDestroy",
|
|
745
|
-
PlayerDisconnect = "playerDisconnect",
|
|
746
|
-
PlayerMove = "playerMove",
|
|
747
|
-
PlayerRestored = "playerRestored",
|
|
748
|
-
PlayerStateUpdate = "playerStateUpdate",
|
|
749
|
-
QueueEnd = "queueEnd",
|
|
750
|
-
RestoreComplete = "restoreComplete",
|
|
751
|
-
SegmentSkipped = "segmentSkipped",
|
|
752
|
-
SegmentsLoaded = "segmentsLoaded",
|
|
753
|
-
SocketClosed = "socketClosed",
|
|
754
|
-
TrackEnd = "trackEnd",
|
|
755
|
-
TrackError = "trackError",
|
|
756
|
-
TrackStart = "trackStart",
|
|
757
|
-
TrackStuck = "trackStuck",
|
|
758
|
-
/** Nodelink */
|
|
759
|
-
VoiceReceiverDisconnect = "voiceReceiverDisconnect",
|
|
760
|
-
/** Nodelink */
|
|
761
|
-
VoiceReceiverConnect = "voiceReceiverConnect",
|
|
762
|
-
/** Nodelink */
|
|
763
|
-
VoiceReceiverError = "voiceReceiverError",
|
|
764
|
-
/** Nodelink */
|
|
765
|
-
VoiceReceiverStartSpeaking = "voiceReceiverStartSpeaking",
|
|
766
|
-
/** Nodelink */
|
|
767
|
-
VoiceReceiverEndSpeaking = "voiceReceiverEndSpeaking"
|
|
768
|
-
}
|
|
769
|
-
/**
|
|
770
|
-
* Track End Reason Enum
|
|
771
|
-
*/
|
|
772
|
-
declare enum TrackEndReasonTypes {
|
|
773
|
-
Finished = "finished",
|
|
774
|
-
LoadFailed = "loadFailed",
|
|
775
|
-
Stopped = "stopped",
|
|
776
|
-
Replaced = "replaced",
|
|
777
|
-
Cleanup = "cleanup"
|
|
778
|
-
}
|
|
779
|
-
/**
|
|
780
|
-
* Severity Types Enum
|
|
781
|
-
*/
|
|
782
|
-
declare enum SeverityTypes {
|
|
783
|
-
Common = "common",
|
|
784
|
-
Suspicious = "suspicious",
|
|
785
|
-
Fault = "fault"
|
|
786
|
-
}
|
|
787
|
-
/**
|
|
788
|
-
* SponsorBlock Segment Enum
|
|
789
|
-
*/
|
|
790
|
-
declare enum SponsorBlockSegment {
|
|
791
|
-
Sponsor = "sponsor",
|
|
792
|
-
SelfPromo = "selfpromo",
|
|
793
|
-
Interaction = "interaction",
|
|
794
|
-
Intro = "intro",
|
|
795
|
-
Outro = "outro",
|
|
796
|
-
Preview = "preview",
|
|
797
|
-
MusicOfftopic = "music_offtopic",
|
|
798
|
-
Filler = "filler"
|
|
707
|
+
/**
|
|
708
|
+
* @returns The current key.
|
|
709
|
+
*/
|
|
710
|
+
private get currentKey();
|
|
711
|
+
/**
|
|
712
|
+
* @returns The previous key.
|
|
713
|
+
*/
|
|
714
|
+
private get previousKey();
|
|
715
|
+
/**
|
|
716
|
+
* Helper to serialize/deserialize Track
|
|
717
|
+
*/
|
|
718
|
+
private serialize;
|
|
719
|
+
/**
|
|
720
|
+
* Helper to serialize/deserialize Track
|
|
721
|
+
*/
|
|
722
|
+
private deserialize;
|
|
723
|
+
/**
|
|
724
|
+
* @returns The current track.
|
|
725
|
+
*/
|
|
726
|
+
getCurrent(): Promise<Track | null>;
|
|
727
|
+
/**
|
|
728
|
+
* @param track The track to set.
|
|
729
|
+
*/
|
|
730
|
+
setCurrent(track: Track | null): Promise<void>;
|
|
731
|
+
/**
|
|
732
|
+
* @returns The previous tracks.
|
|
733
|
+
*/
|
|
734
|
+
getPrevious(): Promise<Track[]>;
|
|
735
|
+
/**
|
|
736
|
+
* @param track The track to add.
|
|
737
|
+
*/
|
|
738
|
+
addPrevious(track: Track | Track[]): Promise<void>;
|
|
739
|
+
/**
|
|
740
|
+
* @param track The track to set.
|
|
741
|
+
*/
|
|
742
|
+
setPrevious(track: Track | Track[]): Promise<void>;
|
|
743
|
+
/**
|
|
744
|
+
* @returns The newest track.
|
|
745
|
+
*/
|
|
746
|
+
popPrevious(): Promise<Track | null>;
|
|
747
|
+
/**
|
|
748
|
+
* Clears the previous tracks.
|
|
749
|
+
*/
|
|
750
|
+
clearPrevious(): Promise<void>;
|
|
751
|
+
/**
|
|
752
|
+
* @param track The track or tracks to add. Can be a single `Track` or an array of `Track`s.
|
|
753
|
+
* @param [offset=null] The position to add the track(s) at. If not provided, the track(s) will be added at the end of the queue.
|
|
754
|
+
*/
|
|
755
|
+
add(track: Track | Track[], offset?: number): Promise<void>;
|
|
756
|
+
/**
|
|
757
|
+
* @param position The position to remove the track at.
|
|
758
|
+
* @param end The end position to remove the track at.
|
|
759
|
+
*/
|
|
760
|
+
remove(position?: number): Promise<Track[]>;
|
|
761
|
+
remove(start: number, end: number): Promise<Track[]>;
|
|
762
|
+
/**
|
|
763
|
+
* Clears the queue.
|
|
764
|
+
*/
|
|
765
|
+
clear(): Promise<void>;
|
|
766
|
+
/**
|
|
767
|
+
* @returns The size of the queue.
|
|
768
|
+
*/
|
|
769
|
+
size(): Promise<number>;
|
|
770
|
+
/**
|
|
771
|
+
* @returns The total size of tracks in the queue including the current track.
|
|
772
|
+
*/
|
|
773
|
+
totalSize(): Promise<number>;
|
|
774
|
+
/**
|
|
775
|
+
* @returns The total duration of the queue in milliseconds.
|
|
776
|
+
* This includes the duration of the currently playing track.
|
|
777
|
+
*/
|
|
778
|
+
duration(): Promise<number>;
|
|
779
|
+
/**
|
|
780
|
+
* Shuffles the queue.
|
|
781
|
+
*/
|
|
782
|
+
shuffle(): Promise<void>;
|
|
783
|
+
/**
|
|
784
|
+
* Shuffles the queue, but keeps the tracks of the same user together.
|
|
785
|
+
*/
|
|
786
|
+
userBlockShuffle(): Promise<void>;
|
|
787
|
+
/**
|
|
788
|
+
* Shuffles the queue round-robin style.
|
|
789
|
+
*/
|
|
790
|
+
roundRobinShuffle(): Promise<void>;
|
|
791
|
+
/**
|
|
792
|
+
* Removes the first track from the queue.
|
|
793
|
+
*/
|
|
794
|
+
dequeue(): Promise<Track | undefined>;
|
|
795
|
+
/**
|
|
796
|
+
* Adds a track to the front of the queue.
|
|
797
|
+
*/
|
|
798
|
+
enqueueFront(track: Track | Track[]): Promise<void>;
|
|
799
|
+
/**
|
|
800
|
+
* @returns The tracks in the queue.
|
|
801
|
+
*/
|
|
802
|
+
getTracks(): Promise<Track[]>;
|
|
803
|
+
/**
|
|
804
|
+
* @returns The tracks in the queue from the start to the end.
|
|
805
|
+
*/
|
|
806
|
+
getSlice(start?: number, end?: number): Promise<Track[]>;
|
|
807
|
+
/**
|
|
808
|
+
* Modifies the queue at the specified index.
|
|
809
|
+
*/
|
|
810
|
+
modifyAt(start: number, deleteCount?: number, ...items: Track[]): Promise<Track[]>;
|
|
811
|
+
/**
|
|
812
|
+
* @returns The tracks in the queue after the specified index.
|
|
813
|
+
*/
|
|
814
|
+
mapAsync<T>(callback: (track: Track, index: number, array: Track[]) => T): Promise<T[]>;
|
|
815
|
+
/**
|
|
816
|
+
* @returns The tracks in the queue that match the specified condition.
|
|
817
|
+
*/
|
|
818
|
+
filterAsync(callback: (track: Track, index: number, array: Track[]) => boolean): Promise<Track[]>;
|
|
819
|
+
/**
|
|
820
|
+
* @returns The first track in the queue that matches the specified condition.
|
|
821
|
+
*/
|
|
822
|
+
findAsync(callback: (track: Track, index: number, array: Track[]) => boolean): Promise<Track | undefined>;
|
|
823
|
+
/**
|
|
824
|
+
* @returns Whether any tracks in the queue match the specified condition.
|
|
825
|
+
*/
|
|
826
|
+
someAsync(callback: (track: Track, index: number, array: Track[]) => boolean): Promise<boolean>;
|
|
827
|
+
/**
|
|
828
|
+
* @returns Whether all tracks in the queue match the specified condition.
|
|
829
|
+
*/
|
|
830
|
+
everyAsync(callback: (track: Track, index: number, array: Track[]) => boolean): Promise<boolean>;
|
|
799
831
|
}
|
|
800
832
|
|
|
801
833
|
/**
|
|
@@ -899,19 +931,6 @@ interface StateStorageOptions {
|
|
|
899
931
|
jsonConfig?: JsonConfig;
|
|
900
932
|
deleteInactivePlayers?: boolean;
|
|
901
933
|
}
|
|
902
|
-
/**
|
|
903
|
-
* Payload
|
|
904
|
-
*/
|
|
905
|
-
interface Payload {
|
|
906
|
-
/** The OP code */
|
|
907
|
-
op: number;
|
|
908
|
-
d: {
|
|
909
|
-
guild_id: string;
|
|
910
|
-
channel_id: string | null;
|
|
911
|
-
self_mute: boolean;
|
|
912
|
-
self_deaf: boolean;
|
|
913
|
-
};
|
|
914
|
-
}
|
|
915
934
|
/**
|
|
916
935
|
* Node Options
|
|
917
936
|
*/
|
|
@@ -968,19 +987,19 @@ interface NodeOptions {
|
|
|
968
987
|
*/
|
|
969
988
|
interface DiscordPacket {
|
|
970
989
|
/**
|
|
971
|
-
* opcode for the payload
|
|
990
|
+
* The opcode for the payload
|
|
972
991
|
*/
|
|
973
992
|
op: number;
|
|
974
993
|
/**
|
|
975
|
-
*
|
|
994
|
+
* Event data
|
|
976
995
|
*/
|
|
977
996
|
d: any;
|
|
978
997
|
/**
|
|
979
|
-
*
|
|
998
|
+
* Sequence number, used for resuming sessions and heartbeats
|
|
980
999
|
*/
|
|
981
1000
|
s?: number;
|
|
982
1001
|
/**
|
|
983
|
-
*
|
|
1002
|
+
* The event name for this payload
|
|
984
1003
|
*/
|
|
985
1004
|
t?: string;
|
|
986
1005
|
}
|
|
@@ -1058,10 +1077,6 @@ type PlayerStateUpdateEvent = {
|
|
|
1058
1077
|
changeType: PlayerStateEventTypes.RepeatChange;
|
|
1059
1078
|
details: RepeatChangeEvent;
|
|
1060
1079
|
};
|
|
1061
|
-
/**
|
|
1062
|
-
* Player State Change Data
|
|
1063
|
-
*/
|
|
1064
|
-
type PlayerStateChangeData = AutoplayChangeEvent | ConnectionChangeEvent | RepeatChangeEvent | PauseChangeEvent | QueueChangeEvent | TrackChangeEvent | VolumeChangeEvent | ChannelChangeEvent;
|
|
1065
1080
|
/**
|
|
1066
1081
|
* Autoplay Change Event
|
|
1067
1082
|
*/
|
|
@@ -1362,9 +1377,9 @@ interface ManagerEvents {
|
|
|
1362
1377
|
[ManagerEventTypes.ChapterStarted]: [player: Player, track: Track, payload: SponsorBlockChapterStarted];
|
|
1363
1378
|
[ManagerEventTypes.ChaptersLoaded]: [player: Player, track: Track, payload: SponsorBlockChaptersLoaded];
|
|
1364
1379
|
[ManagerEventTypes.Debug]: [info: string];
|
|
1365
|
-
[ManagerEventTypes.
|
|
1366
|
-
[ManagerEventTypes.
|
|
1367
|
-
[ManagerEventTypes.
|
|
1380
|
+
[ManagerEventTypes.LyricsFound]: [player: Player, track: Track, payload: LyricsFoundEvent];
|
|
1381
|
+
[ManagerEventTypes.LyricsLine]: [player: Player, track: Track, payload: LyricsLineEvent];
|
|
1382
|
+
[ManagerEventTypes.LyricsNotFound]: [player: Player, track: Track, payload: LyricsNotFoundEvent];
|
|
1368
1383
|
[ManagerEventTypes.NodeConnect]: [node: Node];
|
|
1369
1384
|
[ManagerEventTypes.NodeCreate]: [node: Node];
|
|
1370
1385
|
[ManagerEventTypes.NodeDestroy]: [node: Node];
|
|
@@ -1547,24 +1562,6 @@ interface SponsorBlockChaptersLoaded extends PlayerEvent {
|
|
|
1547
1562
|
duration: number;
|
|
1548
1563
|
}[];
|
|
1549
1564
|
}
|
|
1550
|
-
/**
|
|
1551
|
-
* PlayerUpdate interface
|
|
1552
|
-
*/
|
|
1553
|
-
interface PlayerUpdate {
|
|
1554
|
-
op: "playerUpdate";
|
|
1555
|
-
/** The guild id of the player. */
|
|
1556
|
-
guildId: string;
|
|
1557
|
-
state: {
|
|
1558
|
-
/** Unix timestamp in milliseconds. */
|
|
1559
|
-
time: number;
|
|
1560
|
-
/** The position of the track in milliseconds. */
|
|
1561
|
-
position: number;
|
|
1562
|
-
/** Whether Lavalink is connected to the voice gateway. */
|
|
1563
|
-
connected: boolean;
|
|
1564
|
-
/** The ping of the node to the Discord voice server in milliseconds (-1 if not connected). */
|
|
1565
|
-
ping: number;
|
|
1566
|
-
};
|
|
1567
|
-
}
|
|
1568
1565
|
/**
|
|
1569
1566
|
* NodeStats interface
|
|
1570
1567
|
*/
|
|
@@ -1750,6 +1747,9 @@ interface NodeLinkGetLyricsError {
|
|
|
1750
1747
|
trace?: string;
|
|
1751
1748
|
};
|
|
1752
1749
|
}
|
|
1750
|
+
/**
|
|
1751
|
+
* Start Speaking Event Voice Receiver Data interface
|
|
1752
|
+
*/
|
|
1753
1753
|
interface StartSpeakingEventVoiceReceiverData {
|
|
1754
1754
|
/**
|
|
1755
1755
|
* The user ID of the user who started speaking.
|
|
@@ -1760,6 +1760,9 @@ interface StartSpeakingEventVoiceReceiverData {
|
|
|
1760
1760
|
*/
|
|
1761
1761
|
guildId: string;
|
|
1762
1762
|
}
|
|
1763
|
+
/**
|
|
1764
|
+
* End Speaking Event Voice Receiver Data interface
|
|
1765
|
+
*/
|
|
1763
1766
|
interface EndSpeakingEventVoiceReceiverData {
|
|
1764
1767
|
/**
|
|
1765
1768
|
* The user ID of the user who stopped speaking.
|
|
@@ -1828,16 +1831,62 @@ interface PlayOptions {
|
|
|
1828
1831
|
/** Whether to not replace the track if a play payload is sent. */
|
|
1829
1832
|
readonly noReplace?: boolean;
|
|
1830
1833
|
}
|
|
1834
|
+
/**
|
|
1835
|
+
* ManagerInitOptions interface
|
|
1836
|
+
*/
|
|
1831
1837
|
interface ManagerInitOptions {
|
|
1832
1838
|
clientId?: string;
|
|
1833
1839
|
clusterId?: number;
|
|
1834
1840
|
}
|
|
1841
|
+
/**
|
|
1842
|
+
* EqualizerBand interface
|
|
1843
|
+
*/
|
|
1835
1844
|
interface EqualizerBand {
|
|
1836
1845
|
/** The band number being 0 to 14. */
|
|
1837
1846
|
band: number;
|
|
1838
1847
|
/** The gain amount being -0.25 to 1.00, 0.25 being double. */
|
|
1839
1848
|
gain: number;
|
|
1840
1849
|
}
|
|
1850
|
+
/** Options for adjusting the timescale of audio. */
|
|
1851
|
+
interface timescaleOptions {
|
|
1852
|
+
speed?: number;
|
|
1853
|
+
pitch?: number;
|
|
1854
|
+
rate?: number;
|
|
1855
|
+
}
|
|
1856
|
+
/** Options for applying vibrato effect to audio. */
|
|
1857
|
+
interface vibratoOptions {
|
|
1858
|
+
frequency: number;
|
|
1859
|
+
depth: number;
|
|
1860
|
+
}
|
|
1861
|
+
/** Options for applying rotation effect to audio. */
|
|
1862
|
+
interface rotationOptions {
|
|
1863
|
+
rotationHz: number;
|
|
1864
|
+
}
|
|
1865
|
+
/** Options for applying karaoke effect to audio. */
|
|
1866
|
+
interface karaokeOptions {
|
|
1867
|
+
level?: number;
|
|
1868
|
+
monoLevel?: number;
|
|
1869
|
+
filterBand?: number;
|
|
1870
|
+
filterWidth?: number;
|
|
1871
|
+
}
|
|
1872
|
+
/** Options for applying distortion effect to audio. */
|
|
1873
|
+
interface distortionOptions {
|
|
1874
|
+
sinOffset?: number;
|
|
1875
|
+
sinScale?: number;
|
|
1876
|
+
cosOffset?: number;
|
|
1877
|
+
cosScale?: number;
|
|
1878
|
+
tanOffset?: number;
|
|
1879
|
+
tanScale?: number;
|
|
1880
|
+
offset?: number;
|
|
1881
|
+
scale?: number;
|
|
1882
|
+
}
|
|
1883
|
+
/** Options for applying reverb effect to audio. */
|
|
1884
|
+
interface reverbOptions {
|
|
1885
|
+
wet?: number;
|
|
1886
|
+
dry?: number;
|
|
1887
|
+
roomSize?: number;
|
|
1888
|
+
damping?: number;
|
|
1889
|
+
}
|
|
1841
1890
|
/**
|
|
1842
1891
|
* Queue interface
|
|
1843
1892
|
*/
|
|
@@ -3252,74 +3301,6 @@ declare class Filters {
|
|
|
3252
3301
|
*/
|
|
3253
3302
|
demon(status: boolean): Promise<this>;
|
|
3254
3303
|
}
|
|
3255
|
-
/** Options for adjusting the timescale of audio. */
|
|
3256
|
-
interface timescaleOptions {
|
|
3257
|
-
speed?: number;
|
|
3258
|
-
pitch?: number;
|
|
3259
|
-
rate?: number;
|
|
3260
|
-
}
|
|
3261
|
-
/** Options for applying vibrato effect to audio. */
|
|
3262
|
-
interface vibratoOptions {
|
|
3263
|
-
frequency: number;
|
|
3264
|
-
depth: number;
|
|
3265
|
-
}
|
|
3266
|
-
/** Options for applying rotation effect to audio. */
|
|
3267
|
-
interface rotationOptions {
|
|
3268
|
-
rotationHz: number;
|
|
3269
|
-
}
|
|
3270
|
-
/** Options for applying karaoke effect to audio. */
|
|
3271
|
-
interface karaokeOptions {
|
|
3272
|
-
level?: number;
|
|
3273
|
-
monoLevel?: number;
|
|
3274
|
-
filterBand?: number;
|
|
3275
|
-
filterWidth?: number;
|
|
3276
|
-
}
|
|
3277
|
-
/** Options for applying distortion effect to audio. */
|
|
3278
|
-
interface distortionOptions {
|
|
3279
|
-
sinOffset?: number;
|
|
3280
|
-
sinScale?: number;
|
|
3281
|
-
cosOffset?: number;
|
|
3282
|
-
cosScale?: number;
|
|
3283
|
-
tanOffset?: number;
|
|
3284
|
-
tanScale?: number;
|
|
3285
|
-
offset?: number;
|
|
3286
|
-
scale?: number;
|
|
3287
|
-
}
|
|
3288
|
-
/** Options for applying reverb effect to audio. */
|
|
3289
|
-
interface reverbOptions {
|
|
3290
|
-
wet?: number;
|
|
3291
|
-
dry?: number;
|
|
3292
|
-
roomSize?: number;
|
|
3293
|
-
damping?: number;
|
|
3294
|
-
}
|
|
3295
|
-
declare enum AvailableFilters {
|
|
3296
|
-
BassBoost = "bassboost",
|
|
3297
|
-
Distort = "distort",
|
|
3298
|
-
SetDistortion = "setDistortion",
|
|
3299
|
-
EightD = "eightD",
|
|
3300
|
-
SetKaraoke = "setKaraoke",
|
|
3301
|
-
Nightcore = "nightcore",
|
|
3302
|
-
Slowmo = "slowmo",
|
|
3303
|
-
Soft = "soft",
|
|
3304
|
-
TrebleBass = "trebleBass",
|
|
3305
|
-
SetTimescale = "setTimescale",
|
|
3306
|
-
TV = "tv",
|
|
3307
|
-
Vibrato = "vibrato",
|
|
3308
|
-
Vaporwave = "vaporwave",
|
|
3309
|
-
Pop = "pop",
|
|
3310
|
-
Party = "party",
|
|
3311
|
-
Earrape = "earrape",
|
|
3312
|
-
Electronic = "electronic",
|
|
3313
|
-
Radio = "radio",
|
|
3314
|
-
SetRotation = "setRotation",
|
|
3315
|
-
Tremolo = "tremolo",
|
|
3316
|
-
China = "china",
|
|
3317
|
-
Chipmunk = "chipmunk",
|
|
3318
|
-
Darthvader = "darthvader",
|
|
3319
|
-
Daycore = "daycore",
|
|
3320
|
-
Doubletime = "doubletime",
|
|
3321
|
-
Demon = "demon"
|
|
3322
|
-
}
|
|
3323
3304
|
|
|
3324
3305
|
declare abstract class TrackUtils {
|
|
3325
3306
|
static trackPartial: TrackPartial[] | null;
|
|
@@ -3490,4 +3471,4 @@ declare class SeyfertManager extends Manager {
|
|
|
3490
3471
|
}
|
|
3491
3472
|
|
|
3492
3473
|
export { AutoPlayPlatform, AutoPlayUtils, AvailableFilters, DetritusManager, DiscordJSManager, ErisManager, Filters, JsonQueue, LoadTypes, Manager, ManagerEventTypes, MemoryQueue, Node, OceanicManager, Player, PlayerStateEventTypes, Plugin, RedisQueue, Rest, SearchPlatform, SeverityTypes, SeyfertManager, SponsorBlockSegment, StateStorageType, StateTypes, Structure, TrackEndReasonTypes, TrackPartial, TrackSourceTypes, TrackUtils, UseNodeOptions };
|
|
3493
|
-
export type { AlbumSearchResult, ArtistSearchResult, CPUStats, DiscordPacket, EndSpeakingEventVoiceReceiver, EndSpeakingEventVoiceReceiverData, EqualizerBand, ErrorOrEmptySearchResult, Exception, Extendable, FrameStats, IQueue, JsonConfig, LavaPlayer, LavalinkInfo, LavalinkResponse, LoadType, Lyrics, LyricsEvent, LyricsEventType, LyricsFoundEvent, LyricsLine, LyricsLineEvent, LyricsNotFoundEvent, ManagerEvents, ManagerInitOptions, ManagerOptions, MemoryStats, NodeLinkGetLyrics, NodeLinkGetLyricsEmpty, NodeLinkGetLyricsError, NodeLinkGetLyricsMultiple, NodeLinkGetLyricsSingle, NodeMessage, NodeOptions, NodeStats,
|
|
3474
|
+
export type { AlbumSearchResult, ArtistSearchResult, CPUStats, DiscordPacket, EndSpeakingEventVoiceReceiver, EndSpeakingEventVoiceReceiverData, EqualizerBand, ErrorOrEmptySearchResult, Exception, Extendable, FrameStats, IQueue, JsonConfig, LavaPlayer, LavalinkInfo, LavalinkResponse, LoadType, Lyrics, LyricsEvent, LyricsEventType, LyricsFoundEvent, LyricsLine, LyricsLineEvent, LyricsNotFoundEvent, ManagerEvents, ManagerInitOptions, ManagerOptions, MemoryStats, NodeLinkGetLyrics, NodeLinkGetLyricsEmpty, NodeLinkGetLyricsError, NodeLinkGetLyricsMultiple, NodeLinkGetLyricsSingle, NodeMessage, NodeOptions, NodeStats, PlayOptions, PlayerEvent, PlayerEventType, PlayerEvents, PlayerOptions, PlayerStateUpdateEvent, PlayerUpdateVoiceState, PlaylistData, PlaylistInfoData, PlaylistRawData, PlaylistSearchResult, PodcastSearchResult, RedisConfig, SearchQuery, SearchResult, SearchSearchResult, Severity, ShortSearchResult, ShowSearchResult, Sizes, SponsorBlockChapterStarted, SponsorBlockChaptersLoaded, SponsorBlockSegmentEventType, SponsorBlockSegmentEvents, SponsorBlockSegmentSkipped, SponsorBlockSegmentsLoaded, StartSpeakingEventVoiceReceiver, StartSpeakingEventVoiceReceiverData, StateStorageOptions, StationSearchResult, Track, TrackData, TrackDataInfo, TrackEndEvent, TrackEndReason, TrackExceptionEvent, TrackPluginInfo, TrackSearchResult, TrackSourceName, TrackStartEvent, TrackStuckEvent, UseNodeOption, VoicePacket, VoiceReceiverEvent, VoiceServer, VoiceServerUpdate, VoiceState, WebSocketClosedEvent, distortionOptions, karaokeOptions, reverbOptions, rotationOptions, timescaleOptions, vibratoOptions };
|