Question

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
Answer a question...

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.

KFSys
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.

https://www.digitalocean.com/community/tutorial_collections/how-to-add-swap-space

alexdo
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:

https://www.digitalocean.com/community/tutorials/how-to-build-a-discord-bot-with-node-js

Regards