Nodelink

Player

getLyric

  • Name: getLyric
  • Description: Get the current song's lyric on Nodelink's API
  • Type: player function
  • Example:
const player = rainlink.players.get("guild_id")
if (!player) return
const getLyric = player.functions.get("getLyric")
if (!getLyric)
// This will get the current track's lyrics
await getLyric(undefined, "en")
// This will get the lyrics by trackname
await getLyric("Yorushika - Thought Crime", "en")