Just-Some-Bots / MusicBot

:musical_note: The original MusicBot for Discord (formerly SexualRhinoceros/MusicBot)
https://just-some-bots.github.io/MusicBot/
MIT License
3.14k stars 2.36k forks source link

Graceful invalid queue #2391

Closed itsTheFae closed 9 months ago

itsTheFae commented 9 months ago

Description

Fix for recent bug with old serialized queue data. This will prevent old queue from breaking the bot by not raising an error about it. It will log an error instead and return None for the invalid entry.

This also patches a python 3.8 compat issue that made it by in the last PRs.