Question

What droplet do I use to host a discord bot?

Posted February 25, 2017 6k views
Node.js

Alright, so I recently made a Discord bot using discord.js (node.js), but I have some problems configuring it since I am really new into hosting on Digital Ocean. My questions are:
What Droplet do I pick so I can run my bot? and
How do I configure it so.. I can run my bot. Well.

Any help would be appreciated!

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.

×
1 answer

To get started pretty fast, you could use a “One-click app” droplet called “NodeJS 6.9.5 on 16.04” when creating a new droplet.
After that, it’s mainly NodeJS configuration and setup.
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04
https://www.digitalocean.com/community/tags/node-js?type=tutorials

by Brennen Bearnes
Node.js is an open source JavaScript runtime environment for easily building server-side and networking applications. Node.js applications can be run at the command line but this guide focuses on running them as a service using PM2, so that they will automatically restart on reboot or failure, and can safely be used in a production environment.
Submit an Answer