---
title: "Discord Bot Hosting Guide - fps.ms Documentation"
description: "Host your Discord bots for free with fps.ms. Learn deployment, configuration and management."
url: https://fps.ms/docs/discord-bots
---
# Discord Bots

Documentation for hosting Discord bots

- [Installation](https://fps.ms/docs/discord-bots/installation.md): 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](https://fps.ms/docs/discord-bots/editing-code.md): 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](https://fps.ms/docs/discord-bots/getting-your-bot-token.md): 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](https://fps.ms/docs/discord-bots/using-environment-variables.md): 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](https://fps.ms/docs/discord-bots/adding-slash-commands.md): 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](https://fps.ms/docs/discord-bots/troubleshooting.md): 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.

---

[FPS.ms](https://fps.ms/index.html.md) · [All pages](https://fps.ms/llms.txt) · [Documentation](https://fps.ms/docs/llms.txt)
