Skip to content

Commit

Permalink
Update Shoukaku.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
flav-code authored Dec 18, 2023
1 parent 29a7e69 commit 0f16aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Shoukaku.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ export class Shoukaku extends EventEmitter {
throw error;
}
try {
const node = this.options.nodeResolver(this.nodes, connection);
const node = this.options.nodeResolver(this.nodes);
if (!node)
throw new Error('Can\'t find any nodes to connect on');
const player = this.options.structures.player ? new this.options.structures.player(connection.guildId, node) : new Player(connection.guildId, node);
Expand Down

0 comments on commit 0f16aa8

Please sign in to comment.