Just-Some-Bots / MusicBot

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

Graceful invalid queue #2391

Closed itsTheFae closed 4 months ago

itsTheFae commented 4 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.