I need help to making it 24/7, i want a discord bot to be on 24/7.
Python: use a Flask keepalive
JS: make an express server
For both of them, you also need to set up uptimerobot to ping the webpage that is created
I recommend getting a VPS or anything that'll run the script for you.
Although it costs money
Can't you just run your Discord Bot's code on repl.it and not close the page?