Ask coding questions
I have a music bot that works too, but sometimes it just leaves the discord channel.
try using uptimers, or maybe host it somewhere. You could also try to get hacker plan. You can the nuse always on.
Use UptimeRobot to ping your web server (https://discord-24x7-music.bebedi15.repl.co) every 10 minutes so that it never shuts down.
You can just buy the hacker plan and turn on Always On, but if you don't want to fork out money for it, I have no idea how you can do that.