forked from snxraven/DiscordJS-v14-Template
commands/Info | ||
events | ||
handler | ||
index.js | ||
package.json | ||
README.md |
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")
handler - This folder contains files read files from the command folder.
index.js - This is the main file to run the bot.
-
Use
npm i
-
Create a .env file
touch .env
-
Edit .env
TOKEN = token
-
Go to Handler -- > index.js and change "GUIDIDHERE" to your Discord Servers Guild ID
-
Run the bot
node index.js
Want to make this better? Issue a pull request!