Ask coding questions

← Back to all posts
Discord bot sending not messages
botcodertobi (0)

If I run the script of my discord bot and then close the chrome tab, the bot remains online in discord but it no longer responds to the messages. What wen the tab oven is working normally.

LukeWright (281)

this is because your discord bot stops running when you close your tab. To combat this, if you have hacker plan, you can use always on repls. if not, simply use my discord bot template and create an uptime robot monitor to ping the site every 5 minutes.