Skip to content

Commit de65203

Browse files
committed
feat: add LavalinkManager class for core client management
1 parent 8f38942 commit de65203

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/structures/LavalinkManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export class LavalinkManager<CustomPlayerT extends Player = Player> extends Even
164164

165165
if (!options?.nodes || !Array.isArray(options?.nodes) || !options?.nodes.every(node => this.utils.isNodeOptions(node))) throw new SyntaxError("ManagerOption.nodes must be an Array of NodeOptions and is required of at least 1 Node");
166166

167-
if (typeof options?.autoChecks?.nodeSourcesValidations !== "boolean") throw new SyntaxError("ManagerOption.autoChecks.nodeSourcesValidations must be either false | true aka boolean");
167+
if (typeof options?.autoChecks?.sourcesValidations !== "boolean") throw new SyntaxError("ManagerOption.autoChecks.sourcesValidations must be either false | true aka boolean");
168168
if (typeof options?.autoChecks?.pluginValidations !== "boolean") throw new SyntaxError("ManagerOption.autoChecks.pluginValidations must be either false | true aka boolean");
169169

170170
/* QUEUE STORE */

0 commit comments

Comments
 (0)