Discord bot template
This does not include the token, which you will need to add manually from the discord developer panel https://discord.com/developers/applications
Create a json file called config.json and paste it in like this:
{
"prefix": "prefixGoesHere (examples: !, //, -, _)",
"token": "tokenGoesHere"
}run npm i in the bot directory to install dependencies
This will get rid of all the type errors
Run the Bot with:
node . or npm run start
https://discordapi.com/permissions.html
under scope leave it blank, and under Client ID just grab it from the discord developer website