Discord Bots
Documentation for hosting Discord bots
Installation
Host your Discord bot for free on FPS.ms with Python (discord.py) or Node.js (discord.js). Step-by-step setup for code, dependencies, and startup — running 24/7 in minutes.
Editing code
Edit your Discord bot code on FPS.ms via the panel file manager, SFTP, or VS Code live sync with upload-on-save for fast development.
Getting your bot token
Create a Discord application, generate your bot token, set permissions, and invite the bot to your server — everything you need before hosting on FPS.ms.
Using environment variables
Store your Discord bot token and config values securely using a .env file on FPS.ms instead of hardcoding them in your code.
Adding slash commands
Add slash commands to your Discord bot on FPS.ms with Python (discord.py) or Node.js (discord.js). Register, handle, and deploy commands step by step.
Troubleshooting
Fix common Discord bot hosting issues on FPS.ms — token errors, module not found, bot going offline, crash loops, and dependency problems for Python and Node.js.