Discord bot: getting started
Updated 04-10-2026
Discord bot hosting works like a game server: you upload the bot's files, and the panel starts it and keeps it running. We support bots in Node.js and Python.
1. Create the bot on Discord
- Go to discord.com/developers/applications and create an application.
- In the Bot tab, copy the token. Never show it to anyone: whoever has the token controls the bot.
- If the bot reads message content or the member list, turn on the matching Privileged Gateway Intents in the same tab (Message Content, Server Members).
- In OAuth2 → URL Generator tick
bot, choose the permissions and add the bot to your server.
2. Upload the files
Upload files in the File manager or over SFTP, e.g. with FileZilla. The SFTP details are in File manager → SFTP access (you create the password there too). The bot can also pull its code from a Git repository: enter the repository address and branch in Server settings → Startup.
- Node.js: you need a
package.jsonwith the dependencies. The panel installs them on start. - Python: list the dependencies in
requirements.txt.
3. Set the start file
In Server settings → Startup point to the start file (e.g. index.js or main.py). There you also switch the bot's language between Node.js and Python; the files stay in place.
4. The token in a variable
Do not hard-code the token. Keep it in an environment variable (e.g. DISCORD_TOKEN) or in a .env file the bot reads.
5. Start
In the Console click Start. The bot's logs show live. Once the bot has logged in, it appears online on your Discord server.
When the bot does not work
In the Event log the panel suggests the cause of a crash, e.g.:
- token rejected: paste the current token;
- missing intents: turn them on in the Developer Portal;
- missing library: add it to
package.jsonorrequirements.txt.