A bot created with discord bot api in nodejs.
Install dependency 'discord.js'.
Now Go to discord.com/developers/applications.
Create a new application.
After creating application it will give you an Client Token which needs to be copied.
And pass the token into the client.login() to make sure the bot come online (authorized).
Now you can make any command of your choice by adding in the bot.js file.
For help visit https://discord.com/developers/docs