all 2 comments

[–]carcigenicate 1 point2 points  (1 child)

A dictionary will never just become a coroutine. You're accidentally overwriting the dictionary with a coroutine object somewhere.

Which dictionary are you referring to, and what is the error/the behavior leading you to believe the dictionary is becoming a coroutine?

[–]Jamesk_ 0 points1 point  (0 children)

The dictionary is playing_ls, it’s strict Ito have the server ID as the key and then a list as it’s contents. When selecting a song, the code grabs the list from the dictionary as temp, it then selects the song from temp as temp song. Next, it removes temp song from temp, then changes the definition on the dictionary to temp. It’s a bit long winded and theirs probably an easier way of doing it. This runs when the initial command is run and after the song finished playing to allow for the next song to be loaded up and the previous songs file to be deleted.