Knowledge base
Discord Bot Hosting
Guides to running Discord bots 24/7, setting them up on a VDS, securing them and troubleshooting.
8 guides
- How to Run a discord.py Bot on a Linux Server with systemdTo host a discord.py bot on a Linux server, run it as a separate user inside a Python virtual environment (venv) and store the token in a .env file. Then create a systemd service file and enable it w… 6 min read
- What Is Discord Bot Hosting? Moving Your Bot from PC to a ServerDiscord bot hosting means running your bot's code on a server that stays on 24/7 instead of on your own computer. A bot connects to Discord over a persistent connection; when your computer shuts down… 7 min read
- How to Host a Discord.js Bot on a VDS and Run It 24/7 with PM2To host a discord.js bot on a VDS, install the Node.js LTS release on the server, transfer your code with Git or SFTP, store the token in a .env file and install dependencies with npm ci. Then start … 7 min read
- Is Free Discord Bot Hosting Good Enough?Free Discord bot hosting is fine for testing and learning, but it usually falls short for a bot used on a real server. Sleep mode, limited RAM and CPU, hitting Discord rate limits because of a shared… 7 min read
- How to Set Up Lavalink for a Discord Music BotTo set up Lavalink, install Java 17 or newer on your server, create an application.yml next to Lavalink.jar with a port and password, add the youtube-plugin for YouTube support, and run Lavalink 24/7… 7 min read
- Discord Bot Keeps Going Offline: How to Fix ItIf your Discord bot keeps going offline, the cause is usually an uncaught error crashing the process, no process manager like PM2 or systemd to restart it, the server running out of memory, a rate li… 7 min read
- How to Run Multiple Discord Bots on One VDSTo run multiple Discord bots on one VDS, keep each bot in its own folder with its own .env file, start them all from a single PM2 ecosystem.config.js file, and set a memory limit with max_memory_rest… 6 min read
- How to Set Up a Discord Server and Bots for Your Gaming CommunityTo set up a Discord server for a gaming community, first enable Community, build a channel layout with info, chat, game, support and voice categories, order your roles by hierarchy, and turn on Onboa… 7 min read