Simple example for my discord.js bots
Installing your own Discord Bot:
https://github.com/OnSebii/Discord.JS-bot-base DiscordBot
cd DiscordBot
npm i
npm start
Go to Discord and create your own Bot there.
cd DiscordBot
cd config
edit config.json.example with your own bot key. After this rename it to config.json.
Example Invite token. Replace 'YOUR_ID' with your bot id.
https://discord.com/oauth2/authorize?client_id=YOUR_ID&permissions=8&scope=bot