DiscordJS-v14-Template/README.md

32 lines
709 B
Markdown
Raw Normal View History

2022-07-22 22:09:13 +00:00
# Discord-Linx Discord.JS v14 Base Template
Structure:
**commands** - This folder contains commands
**event** - This folder contains files related to discord.js events. (Like "ready", "interactionCreate")
2022-07-22 22:12:47 +00:00
**handler** - This folder contains files that read the commands folders contents.
2022-07-22 22:09:13 +00:00
**index.js** - This is the main file to run the bot.
1) Use ```npm i ```
2) Create a .env file ``` touch .env```
3) Edit .env
```
TOKEN = token
```
4) Go to Handler -- > index.js and change "GUIDIDHERE" to your Discord Servers Guild ID
2022-07-23 12:09:20 +00:00
5) Go into https://discord.com/developers/applications and enable Privlaged Intents.
6) Run the bot ```node index.js```
2022-07-22 22:09:13 +00:00
Want to make this better? Issue a pull request!