Skip to content

Commit

Permalink
Adjust underlying Queue list access in player.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sachaa-Thanasius committed Nov 30, 2023
1 parent cde0cf6 commit 779844c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wavelink/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ async def _search(query: str | None) -> T_a:
track._recommended = True
added += await self.auto_queue.put_wait(track)

random.shuffle(self.auto_queue._queue)
random.shuffle(self.auto_queue.__items)
logger.debug(f'Player "{self.guild.id}" added "{added}" tracks to the auto_queue via AutoPlay.')

@property
Expand Down

0 comments on commit 779844c

Please sign in to comment.