DiscordJS-v14-Template/README.md
2022-07-23 07:21:10 -05:00

862 B

Discord-Linx Discord.JS v14 Base Template

Only 3 dependencies required to run this bot!

Message intents are NOT supported in this bot, this is due to the verification that Discord is enabling.

Structure:

commands - This folder contains commands

event - This folder contains files related to discord.js events. (Like "ready", "interactionCreate")

handler - This folder contains files that read the commands folders contents.

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
  1. Go to Handler -- > index.js and change "GUIDIDHERE" to your Discord Servers Guild ID

  2. Go into https://discord.com/developers/applications and enable Privlaged Intents.

  3. Run the bot node index.js

Want to make this better? Issue a pull request!