javascript – Why does my Discord.js robot keep disconnecting

My discord.js bot keeps on disconnecting from Discord during the night. My discord bot works, and I’m hosting it on replit and using UptimeRobot to ping my bot. It works during the day, but sometime during the night, it disconnects. Does anyone have a fix? const express = require(‘express’); const app = express(); const port … Read more