---
title: "Discussion on \"Keeping a Discord bot online 24/7: a checklist\" | Hashnode"
description: "Discussion on \"Keeping a Discord bot online 24/7: a checklist\". Your bot works on your laptop. Then you close the lid and it goes offline. Here is what a bot needs to stay up, whichever host you use.\n1. Somewhere that is always on. A spare PC works until a Windows"
url: "https://hashnode.com/posts/keeping-a-discord-bot-online-24-7-a-checklist/6b0f31fab7b6820e75d08004"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Keeping a Discord bot online 24/7: a checklist](https://zeroshost.hashnode.dev/keeping-a-discord-bot-online-24-7-a-checklist?utm_source=hashnode&utm_medium=feed)

Your bot works on your laptop. Then you close the lid and it goes offline. Here is what a bot needs to stay up, whichever host you use. 1. Somewhere that is always on. A spare PC works until a Windows

2d ago · 2 min read · zeroshost.hashnode.dev  
Read the article

-   [#discord](https://hashnode.com/tag/discord)
-   [#discord-bot](https://hashnode.com/tag/discord-bot)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#python](https://hashnode.com/tag/python)

## Written by

[Zeros Host](https://hashnode.com/@zeroshost)

@zeroshost · United Kingdom

  
[View profile](https://hashnode.com/@zeroshost)

Game server hosting for Minecraft, Terraria, Valheim, Project Zomboid and more. Writing about running game servers and the panel we built.

Zeros Host is a small game server hosting company run from the Scottish Borders. We host Minecraft, Garry's Mod, Terraria, Valheim, Project Zomboid and more, plus 24/7 Discord bot hosting, in the UK, Germany and Canada on a control panel we build ourselves. Here we write about running game servers and Discord bots, Linux and Docker, and how we built the panel. Free 48-hour trial, no card: https://zerosrp.co.uk

## Responses 1

Markdown supported · ⌘↵ to post

[LooCraft Labs](https://hashnode.com/@loocraftlabs)

[23h ago](https://hashnode.com/posts/keeping-a-discord-bot-online-24-7-a-checklist/6b0f31fab7b6820e75d08004/comment/6b1194f10f9bd2018eb401bc)

Solid checklist for 24/7 uptime. Two operational security points that pair well with always-on Discord bot hosting:

1.  **Token & Subuser isolation**: When moving a bot from a laptop to a shared hosting panel or VPS, make sure panel subusers or SFTP accounts who only restart the process cannot read `.env` or config files holding the bot token. If a maintainer steps away, rotate the token in the Discord Developer Portal rather than just removing their panel access.
2.  **Least-privilege OAuth2 & role hierarchy**: Avoid granting `Administrator` when granular permissions (`Send Messages`, `Embed Links`, `Manage Messages`) are enough, and keep the bot's role below human admin roles so a compromised bot token cannot escalate across the server.
3.  **State persistence across restarts**: Verify that SQLite/JSON/DB volumes survive container rebuilds and test restoring a backup before relying on automated uptime.
