You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bot crashes when using the /music lyrics command.
Reproduction
The issue is related to the following line. Locally, I modified that line to const lyric = response.text, and it works.
Package
plugin-lava-player
Relevant log output
const lyric = response.lines.map((line) => line.line).join("\n"); ^TypeError: Cannot read properties of null (reading 'map') at Command.lyrics (file:///Users/felipevelasco/Learning/discord-bot/node_modules/@discordx/plugin-lava-player/dist/plugins/lavalyrics/index.js:61:38) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async next (file:///Users/felipevelasco/Learning/discord-bot/node_modules/discordx/dist/index.mjs:1093:15)Node.js v22.8.0
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
@felipevelascohz are you using latest plugins? based on there README page of lyrics. lines should exist. Please verify the plugin version you are using. So that I can cross check.
What happened?
The bot crashes when using the /music lyrics command.
Reproduction
The issue is related to the following line. Locally, I modified that line to
const lyric = response.text
, and it works.Package
plugin-lava-player
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: