Skip to content

Commit

Permalink
fix: add encoded in update function
Browse files Browse the repository at this point in the history
  • Loading branch information
Deivu committed Feb 27, 2024
1 parent 6426bf5 commit c59317c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/guild/Player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,7 @@ export class Player extends EventEmitter {
await this.node.rest.updatePlayer(data);
if (updatePlayer.playerOptions) {
const options = updatePlayer.playerOptions;
if (options.encoded) this.track = options.encoded;
if (options.position) this.position = options.position;
if (options.paused) this.paused = options.paused;
if (options.filters) this.filters = options.filters;
Expand Down

0 comments on commit c59317c

Please sign in to comment.