discord-player-youtubei
Advanced tools
Comparing version 1.2.0-beta.2 to 1.2.0-beta.3
@@ -124,3 +124,3 @@ "use strict"; | ||
if (this.options.rotator.rotationStrategy === "shard") { | ||
const tokenToUse = (this.options.rotator.currentShard - 1) % this.options.rotator.authentications.length; | ||
const tokenToUse = this.options.rotator.currentShard % this.options.rotator.authentications.length; | ||
this.context.player.debug(`Shard count is ${this.options.rotator.currentShard} thus using rotator.authentication[${tokenToUse}]`); | ||
@@ -127,0 +127,0 @@ await this.#signIn(this.options.rotator.authentications[tokenToUse]); |
{ | ||
"name": "discord-player-youtubei", | ||
"version": "1.2.0-beta.2", | ||
"version": "1.2.0-beta.3", | ||
"description": "An unofficial package to test the use of youtubei in discord-player v6.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
32490