You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Shoukaku.ts
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,10 @@ export interface NodeOption {
46
46
}
47
47
48
48
exportinterfaceShoukakuOptions{
49
+
/**
50
+
* Whether to validate Lavalink responses (worse performance)
51
+
*/
52
+
validate?: boolean;
49
53
/**
50
54
* Whether to resume a connection on disconnect to Lavalink (Server Side) (Note: DOES NOT RESUME WHEN THE LAVALINK SERVER DIES)
51
55
*/
@@ -173,6 +177,7 @@ export class Shoukaku extends TypedEventEmitter<ShoukakuEvents> {
173
177
* @param connector A Discord library connector
174
178
* @param nodes An array that conforms to the NodeOption type that specifies nodes to connect to
175
179
* @param options Options to pass to create this Shoukaku instance
180
+
* @param options.validate Whether to validate Lavalink responses (worse performance)
176
181
* @param options.resume Whether to resume a connection on disconnect to Lavalink (Server Side) (Note: DOES NOT RESUME WHEN THE LAVALINK SERVER DIES)
177
182
* @param options.resumeTimeout Time to wait before lavalink starts to destroy the players of the disconnected client
178
183
* @param options.resumeByLibrary Whether to resume the players by doing it in the library side (Client Side) (Note: TRIES TO RESUME REGARDLESS OF WHAT HAPPENED ON A LAVALINK SERVER)
0 commit comments