Browse documentation

Discord Bots

Documentation for hosting Discord bots

6 articles

  1. 1 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.
  2. 2 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.
  3. 3 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.
  4. 4 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.
  5. 5 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.
  6. 6 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.