aquelemiguel / parrot

🦜 A hassle-free, highly performant, self-hosted Discord music bot with YouTube and Spotify support. Powered by yt-dlp.
MIT License
136 stars 44 forks source link

/managesources command does not save state upon bot restart #236

Closed ghost closed 1 year ago

ghost commented 1 year ago

📝 Description

If I edit the sources using the /managesources command, when the bot gets restarted it goes back to the default. (The reason I restart the bot often is because Spotify dies after a few hours of the bot being up ¯\_(ツ)_/¯)

🪜 Reproduction Steps

  1. Run /managesources
  2. Change some stuff
  3. Restart bot
  4. Run /managesources again

ℹ Environment / Computer Info

📸 Screenshots

No response

aquelemiguel commented 1 year ago

Hi and welcome, @futiiile! ✌️

Unfortunately, as of now there's still no mechanism for preserving state, which is what #124 tries to solve. Once that issue moves forward, allowed/blocked sources will be stored.

afonsojramos commented 1 year ago
image

😞 😞 😞

joao-conde commented 1 year ago

:sweat_smile: peer pressure working at its finest. Here baitolas: https://github.com/aquelemiguel/parrot/pull/237

ghost commented 1 year ago

Hi and welcome, @futiiile! ✌️

Unfortunately, as of now there's still no mechanism for preserving state, which is what #124 tries to solve. Once that issue moves forward, allowed/blocked sources will be stored.

Hello, thank you for the response!

I am glad to see it is being worked on. I hope you guys will also find a solution to keep Spotify alive during the whole time the bot is up. Good luck!

joao-conde commented 1 year ago

image

:disappointed: :disappointed: :disappointed:

joao-conde commented 1 year ago

@futiiile next release should contain the saving feature :) https://github.com/aquelemiguel/parrot/pull/237