Androz2091 / discord-player

🎧 Complete framework to simplify the implementation of music commands using discord.js v14
https://discord-player.js.org/
MIT License
589 stars 192 forks source link

feat!: v7 rewrite #1916

Closed twlite closed 1 month ago

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **discord-player-website** | ⬜️ Ignored ([Inspect](https://vercel.com/androz2091s-projects/discord-player-website/HttYtSF46dAvKBBhoEhT2HEE18kr)) | [Visit Preview](https://discord-player-website-git-v7-androz2091s-projects.vercel.app) | | Jul 4, 2024 2:31pm |
febkosq8 commented 2 months ago

Would like to see some sort of control over seek when giving a new searchresult to play. If I want a song to start playing from 30 seconds in, I should be able to specify it while calling the play command

twlite commented 2 months ago

Would like to see some sort of control over seek when giving a new searchresult to play. If I want a song to start playing from 30 seconds in, I should be able to specify it while calling the play command

await player.play(channel, query, {
  nodeOptions: {...},
  audioPlayerOptions: { // add this
    seek: duration
  }
})
twlite commented 1 month ago

we will be working on master