Create Your Own Discord Bot Tutorial [JS]
In this tutorial i will be teaching you how to create your own Discord bot [JS].Visual Studio (you can use NotePad++ if you want) and NodeJS
Alright once you got all requirements and you're now ready lets start.
Once you got in Discord Dev click on "My Apps" then "New Application".

Once you clicked on it now it will look like this.

You can just name the bot others are optional. Now when you named the bot and clicked on "Create App" it will look like this.


Now it's a bot you can make it public if you want to. Now make a new folder name it whatever you want. Now run CMD and type "cd (folder path).
Once you've done it type "npm install Discord.js" now it should download Discord.js and the folder "node_modules" will show up on your main folder that you've created, now you can close CMD.
Now go to Visual Studio/NotePad++ and create new file, now name it "Bot.js".
inside Bot.js file type
Code:
const Discord = require('discord.js');
const client = new Discord.Client();
Code:
client.login('');
Now the bot is ready, you can invite him to your server. Copy bots client ID and go to google and type "**************/oauth2/authorize?client_id=YourBotIDHere&scope=bot" and click enter.

Now go ahead select your server and click "Authorize"

Now will have to get the bot online, type
Code:
client.on('ready', () => {
console.log('Bot is online!');
});
Now save the file and create a new file and name it "start_bot.bat".
Inside file type
Code:
node bot.js
PAUSE
So go to Discord and now you can see your bot is online.
Now you can add commands to your bot in file "Bot.js" but make sure the bot is offline.