Getting Started with Discord Bot Hosting

Learn what XGamingServer Discord bot hosting provides, which server type you have, and what you need to get started.

XGamingServer makes it easy to host your Discord bot 24/7. Your bot runs on dedicated resources with full panel access for managing files, viewing logs, and configuring startup settings — no VPS or Linux experience required.

What You Get

  • 24/7 uptime — Your bot stays online around the clock without needing to keep your PC running.
  • Multiple runtimes — Host bots written in Node.js, Python, Java, Go, C#, .NET, Lua, and PHP.
  • Full console access — View your bot's output, errors, and logs in real time from the Console page.
  • File manager — Upload, edit, and manage your bot's files directly from the Files page in the panel.
  • Backups — Create and restore backups of your bot's files from the Backups page.

Server Types

XGamingServer offers different server types for bot hosting. You can tell which one you have by checking the Startup page in the panel.

Discord Bot Server

The multi-language Discord Bot server has a single Startup Command variable. You control what runs by typing the full command (e.g., node index.js, python3 bot.py).

LanguageStartup Command ExampleHow to Install Packages
Node.jsnode index.jsnpm install via /bin/bash
Python 3python3 bot.pypip3 install -r requirements.txt via /bin/bash
Javajava -jar bot.jarPackages are included in the JAR
C# / .NETmono Bot.exePackages are included in the EXE
Go./botCompile for GOOS=linux GOARCH=amd64
Lua 5.3lua bot.lua
PHP 7.2php bot.php

💡 Tip: To install packages or run commands manually, set the Startup Command to /bin/bash. This gives you an interactive terminal in the Console where you can run npm install, pip3 install, and other commands. Change the startup command back to your bot's run command when done.

Standalone Node.js Server

The dedicated Node.js server has separate variables on the Startup page:

VariableDescription
Main FileThe entry point for your bot (e.g., index.js, bot.js). Supports .js and .ts files
Git Repo AddressOptional — clone your bot directly from a GitHub URL
Install BranchWhich branch to clone (leave blank for the repo default)
Auto UpdatePull the latest code from GitHub on each restart (0 = off, 1 = on)
User Uploaded FilesSet to 1 if you are uploading files manually instead of using Git (0 = off, 1 = on)
Additional Node PackagesExtra npm packages to install (space-separated)
Git UsernameUsername for private repository authentication
Git Access TokenPersonal access token for private repository authentication

Dependencies from package.json are installed automatically on each start — no need for /bin/bash.

Standalone Python Server

The dedicated Python server has separate variables on the Startup page:

VariableDescription
App py FileThe main Python file to run (default: app.py)
Git Repo AddressOptional — clone your bot directly from a GitHub URL
Git BranchWhich branch to clone (leave blank for the repo default)
Auto UpdatePull the latest code from GitHub on each restart (0 = off, 1 = on)
User Uploaded FilesSet to 1 if you are uploading files manually instead of using Git (0 = off, 1 = on)
Additional Python PackagesExtra pip packages to install (space-separated)
Requirements FileCustom requirements file name (default: requirements.txt)
Git UsernameUsername for private repository authentication
Git Access TokenPersonal access token for private repository authentication

Dependencies from requirements.txt are installed automatically on each start — no need for /bin/bash.

Available Docker Images

Your server can use different Docker images depending on the language you need:

  • Node.js: Versions 12 through 23
  • Python: Versions 2.7, 3.7, 3.8, 3.9, 3.10

If you need a specific version, contact support or join our Discord to switch.

Requirements

Before you begin, you need:

  1. An XGamingServer account — Sign up and purchase a Discord bot hosting plan.
  2. A Discord bot token — Created for free at the Discord Developer Portal. See our Create a Bot Token guide.
  3. Your bot's source code — Ready to upload as files or available on GitHub.

Next Steps

How is this guide?

40% Off — Limited TimeGet your Discord Bots server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page