Skip to content
This repository has been archived by the owner on Dec 7, 2024. It is now read-only.

[依賴項更新] (deps): Bump discord-player from 6.6.7 to 6.6.10 #295

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 10, 2024

Bumps discord-player from 6.6.7 to 6.6.10.

Release notes

Sourced from discord-player's releases.

[email protected]

What's Changed

Full Changelog: https://github.com/Androz2091/discord-player/compare/[email protected]@6.6.10

[email protected]

New Features

  • New lyrics API and synced lyrics feature is now stable
  • Track now contains cleanTitle property which removes junk from track titles.

New lyrics API

// other methods include .get() .getById() etc.
const results = await player.lyrics.search({ q: track }); // this is a lot better than genius, if you want to search by current track - use track.cleanTitle as the query and specify artistName as well in such situations
// player.lyrics also takes care of ratelimits so you will not get ratelimited
const lyrics= results[0];
if (!lyrics.syncedLyrics) {
return // no synced lyrics available
}
// load lyrics
const syncedLyrics = queue.syncedLyrics(lyrics);
syncedLyrics.at(timestampInMilliseconds); // manually get a line at specific timestamp. Discord Player resolves closest timestamp
// Synchronize lyrics with the queue
syncedLyrics.onChange(async (lyrics, timestamp) => {
// timestamp = timestamp in lyrics (not queue's time)
// lyrics = line in that timestamp
await interaction.channel?.send({
content: [${timestamp}]: ${lyrics}
});
});
const unsubscribe = syncedLyrics.subscribe(); // start watching the queue for live updates
unsubscribe(); // call this when you are done, discord-player does this automatically when track ends

What's Changed

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [discord-player](https://github.com/Androz2091/discord-player) from 6.6.7 to 6.6.10.
- [Release notes](https://github.com/Androz2091/discord-player/releases)
- [Commits](https://github.com/Androz2091/discord-player/compare/[email protected]@6.6.10)

---
updated-dependencies:
- dependency-name: discord-player
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies 更新依賴文件的拉取請求 npm Node Package Manager 的相關管理 labels Jun 10, 2024
@dependabot dependabot bot added this to the 製作進度 milestone Jun 10, 2024
Copy link

這個 Issue 已經被標記爲閒置,如果五天之内沒有任何留言或其他活動則會關閉 Issue

@github-actions github-actions bot added the Stale label Jul 11, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 22, 2024

Superseded by #317.

@dependabot dependabot bot closed this Jul 22, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/discord-player-6.6.10 branch July 22, 2024 18:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies 更新依賴文件的拉取請求 npm Node Package Manager 的相關管理 Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants