---
title: "Comment by LooCraft Labs on \"Keeping a Discord bot online 24/7: a checklist\" | Hashnode"
description: "Solid checklist for 24/7 uptime. Two operational security points that pair well with always-on Discord bot hosting: Token &amp; Subuser isolation : When moving"
url: "https://hashnode.com/posts/keeping-a-discord-bot-online-24-7-a-checklist/6b0f31fab7b6820e75d08004/comment/6b1194f10f9bd2018eb401bc"
---

[Discussion](https://hashnode.com/posts/keeping-a-discord-bot-online-24-7-a-checklist/6b0f31fab7b6820e75d08004)

Comment [Keeping a Discord bot online 24/7: a checklist](https://hashnode.com/posts/keeping-a-discord-bot-online-24-7-a-checklist/6b0f31fab7b6820e75d08004)

[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.
