My bot stop working after few hours


Why my bot stop working? I start it but 1 or 2 hours later, my bot close (i use discord.js) can i have help ?


Projects on Glitch sleep after 5 minutes of inactivity, see If you need to keep your bot awake, we suggest using a web cron service or monitoring service like uptimerobot and hitting an exposed end-point in your app every 5 mins or so.


I hope this article here can be a help for you.