Please describe the problem you are having in as much detail as possible:
Selecting a song from search results will add the correct song to queue, but displays data of the 1st song in search result in the "added to queue" embed message.
Looking at the code, it's probably because in search.js in the embed res.tracks[0] is used instead of trackForPlay.tracks[0].
At this point I could have made a PR, let me know if i should do that.
Include a reproducible code sample here, if possible, the snippet of code which is throwing the error or which you presume is giving issues:
Please describe the problem you are having in as much detail as possible:
Selecting a song from search results will add the correct song to queue, but displays data of the 1st song in search result in the "added to queue" embed message.![image](https://github.com/wtfnotavailable/Discord-MusicBot/assets/46034537/c324657d-cb86-440d-9cf5-ad8d0bb68ea2)
Looking at the code, it's probably because in
search.js
in the embedres.tracks[0]
is used instead oftrackForPlay.tracks[0]
.At this point I could have made a PR, let me know if i should do that.
Include a reproducible code sample here, if possible, the snippet of code which is throwing the error or which you presume is giving issues:
in
search.js
:If you have your own setup, without the original docker configuration, please provide:
Unrelated
Further details:
Relevant client options: