Articles on: Getting Started

Setting up a NodeJS bot

Welcome to Something!

In this guide you will learn how to setup your and run your own NodeJS Discord bot.

Make sure to upload your files to your service beforehand!

If you are a new user we recommend reading our Getting Started guide.

Let's start by getting your service into InDev mode.

Read more info on how to activate InDev mode here

Your console should look like this

InDev Console Example

The first thing you need to do is to install your bot modules. To do that type in the console npm install
A loading screen will show up informing of you the progress. Wait until the process has finished.

After the installation has finished, your cursor should be free and you will be able to execute more commands.

Post npm install console

The last thing to do is start your bot. In our example, our bot executable file is "bot.js" thus will run the command node bot.js

Make sure you are on the correct folder when executing the command!

If your bot has started and you see a console output, you have done the process corretly! If not, you can contact our support team for more info!

Updated on: 27/10/2020

Was this article helpful?

Share your feedback


Thank you!