Repl stops randomly
Why is my repl stopping randomly after about 15 minutes??? I am trying to use my bot to play music.
@TylerMuranaka do u want to know how to make a http server?
after that, you should sign up for https://uptimerobot.com and add this http server's site name(https://Asuna.TylerMuranka.repl.co) and send it get requests every few minutes.
Also, I see you have your token out in the open, you should put your bot token in a file called
.env then use
os.getenv('BOT_TOKEN') because now, anyone can take over your bot.
it might be something to do with your internet connection. If it goes out for even a second, it stops your repl and you have to restart it.
Hope it helps :)