How to host discord bot?

As I was looking for where to host a Discord Bot, I got here but I am not sure how to proceed, I was testing with Creating an App with the Docker Hub option as the discord bot is in Python, but I am not sure how to proceed as I got confused with the configuration, with the basic plan is enough? As the bot should be active 24/7 but I am sure is going to be not of heavy use. Sorry if I asked in the wrong section

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Site Moderator
Site Moderator badge
January 15, 2023

Hi @gerlc,

It’s always best to start with the smallest plan when you are not sure. The platform allows easily to scale your Droplets so as soon as you hit your Droplet’s limits.

Apart from the tutorial on how to build a discord bot, I’ll recommend adding SWAP to your Droplet. Swap is a portion of hard drive storage that has been set aside for the operating system to temporarily store data that it can no longer hold in RAM. This lets you increase the amount of information that your server can keep in its working memory, with some caveats. The swap space on the hard drive will be used mainly when there is no longer sufficient space in RAM to hold in-use application data.

Site Moderator
Site Moderator badge
January 14, 2023

Hello @gerlc

You can start with the basic plan and always upgrade the droplet specs if you’re running out of resources due to traffic or if you find the general performance insufficient for your needs.

What I could also suggest is going through this tutorial here on How To Build a Discord Bot with Node.js:


Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel