Skip to content

How to host your discord.py bot

In this post I will show you how to host your discord.py bot. It will also work for other libraries E.G. Pycord

  1. Upload your bot files to the server (You can also use github)
  2. In the Startup tab under BOT PY FILE write the path to your main file
  3. Install your bot requirements. You can do this via a requirements.txt or ADDITIONAL PYTHON PACKAGES in startup
  4. Navigate to the Console tab and start your server
  5. Your bot will now be online and working (Unless there are issues with your code)

NOTE: If you want your server to be marked as Running in the panel have some code in your bot that prints “online”

Leave a Reply

Your email address will not be published.