Discord.js code for an API request bot.
- Discord.js
npm i discord.js
- XHR
npm i npm i xmlhttprequest
- Open the terminal/cmd.
- Make sure you have Node
mkdir hive-mind
cd hive-mind
- Navigate to the folder and create a text file called index.js
- Open the text five and paste in the code from this repo
- Go to Discord's Developer Portal
- Create a new application
- Go to the bot tab and create a bot
- WIP