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

fix for timer events in server specific data. #2385

Closed itsTheFae closed 5 months ago

itsTheFae commented 5 months ago

Description

This should stop the shared reference of asyncio.Event() by essentially setting one if there is None whenever any call uses it. It is the shortest patch method I can think of without building another function or refactoring server data.

Note this PR does not apply Black format, as black has updated.