I’m trying to figure out how to properly host my Discord bot myself instead of using paid cloud services. I understand that I can just execute my Python script, but I feel like there should be more to it than that. What about process management and keeping the bot running 24/7? How do people usually handle code updates and deployments when they push changes to their repository? I’m looking for practical advice on tools or frameworks that can help me manage everything properly. Most tutorials I find online just try to sell hosting services rather than explaining how to do it yourself. Are there any specific utilities or step-by-step guides you’d recommend for setting up a self-hosted bot with proper management?
if u want smth simple, pm2 is def the way to go! it manages ur processes and restarts them if they crash. for updating, a basic bash script pulling from git works great. way easier and cheaper than using paid services once u get the hang of it!