Skip to content

Commit

Permalink
update: compile the code
Browse files Browse the repository at this point in the history
  • Loading branch information
1Lucas1apk committed Apr 22, 2024
1 parent 619b269 commit 5196879
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 22 deletions.
17 changes: 0 additions & 17 deletions dist/index.mjs

This file was deleted.

7 changes: 4 additions & 3 deletions dist/src/@Managers/PlayerManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@ class PlayerManager {
async attemptConnection(guildId) {
if (!this.cache[guildId])
return false;
if (this.voices[guildId] &&
!this.voices[guildId]?.token &&
!this.voices[guildId]?.endpoint &&
if (!this.voices[guildId])
return false;
if (!this.voices[guildId]?.token ||
!this.voices[guildId]?.endpoint ||
!this.voices[guildId]?.sessionId)
return false;
if (this._manager.options?.balancingPlayersByRegion) {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5196879

Please sign in to comment.