How to put a Discord bot online without a server
To keep a Discord bot online around the clock, people usually rent a VPS and keep the process running on it — setting up auto-start, making sure the bot does not crash, and paying for the server every month.
Netrun takes that part off your plate: you upload the bot's code and add the token — starting it and keeping it running is on us. Let's walk through it step by step.
Prepare the bot code
Gather your project into a single folder with a dependencies file: package.json for Node.js (discord.js) or requirements.txt for Python (discord.py). Read the token from an environment variable, not from the code.
Get the token in the Developer Portal
Open the Discord Developer Portal, create an application and a bot, then copy the token in the Bot section. This is the access key to your bot — keep it secret.
Upload the project to Netrun
As a ZIP archive or by importing from GitHub. Netrun detects the language and builds the project itself — no need to write a Dockerfile.
Add the token and start it
Enter the bot token in the secrets during setup and hit start — Netrun deploys the bot on its own servers.
Check that the bot is online
Open your server in Discord — the bot should appear in the member list with an "online" status and respond to commands.
On the Free plan a project sleeps when idle — for a bot that needs to stay reachable at all times, the paid plan with no idle sleep is a better fit. A Telegram bot is deployed the same way. Try Netrun.