Ethazeriel / discord-bot

Horse.
Other
2 stars 0 forks source link

showing the queue after removing a track from the database causes issues #96

Closed Ethazeriel closed 2 years ago

Ethazeriel commented 2 years ago

[2022-10-08|21:43:55] - COMMAND - Guild: Horse, User: Whuppee#6367, Command: queue, Subcommand: show [2022-10-08|21:43:55] - M - ERROR - TypeError: Cannot read properties of null (reading 'spotify') at Player.queueEmbed (file:///home/eth/discord-bot/player.js:503:30) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Module.execute (file:///home/eth/discord-bot/interactions/commands/queue.js:72:32) at async Client. (file:///home/eth/discord-bot/index.js:91:7)

this makes sense

Ethazeriel commented 2 years ago

should be fixed in fc149ae4c78870b931f3fc914ee5225e7889656a