How to host a Discord bot (Python)

Free hosts often sleep and kill the Discord gateway WebSocket. A purpose-built always-on host keeps your bot connected 24/7.

  1. Create a bot in the Discord Developer Portal and copy the token.
  2. Write a discord.py bot with DISCORD_BOT_TOKEN from the environment.
  3. Sign up on getdiscordbot, paste code, add the token, deploy.

Start free trial