Orbity
By:
Orbity

What droplet do I use to host a discord bot?

February 25, 2017 2.2k 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!

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

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.
  • I am not sure I quite understand since I am also new to developing.

    • What is it you don't understand? Just so you know, it's going to be a lot of work for you if you just started developing and now also administrating servers.

Have another answer? Share your knowledge.