This short tutorial will help you get started with discord.js - the node-based javascript library for building Discord bots.
It is expected that you have a basic understanding of programming, JavaScript, nodejs, npm and working with CLI. Otherwise, check these wonderful resoruces and then come back to this tutorial: