Any way to host a discord bot for free 24/7?
U will need a free VPS
then u can SSH in it and start nohup process to prevent it from shutting down when u disconnect SSH
If you have a spare computer or laptop, you could run it off there. Bouncing off of the idea of that, maybe getting a raspberry Pi? (Credit card-sized mini computer, that you can leave on 24/7 and only draws 5 watts.)
I’ve been hosting my Red Discord bot on a free Amazon EC2 server for months. I think I got charged $0.03 once when I left it playing a YouTube Playlist on repeat for a few weeks, but other than that, it’s been completely free
Try the free plan on PythonAnywhere
. I can run the bot on there for fine. Though keeping it 24/7 is a challenge.
Google Cloud Platform gives you $300 of free credit.
Best solution to your request: https://cloud.google.com