Closed brandonbothell closed 4 years ago
thanks a lot for your PR!
yeah I planned to make that much more cleaner than it was (haven't worked on the music module for a few months ^-^; ), so thanks for that keep using an array works, but I thought about changing it for a map, which seems to be faster & safer 🤔
anyway, gonna keep using an array for now, thanks for your help!
I would have used a map and made it guild-specific, but that didn't meet the specifications in #73. So, I thought about mapping the queue via the song IDs, but I noticed that the
remove
command depends on the songs being mapped by indexes.This left me with this, which is still much cleaner than the previous implementation.