Go to file
2024-10-03 18:03:40 -04:00
commands Adding User App Support 2024-10-03 18:00:03 -04:00
events Adding User App Support 2024-10-03 18:00:03 -04:00
handler Adding User App Support 2024-10-03 18:00:03 -04:00
.gitignore adding a private option within the command config and adding ephemeral support by default 2022-09-28 18:00:36 -04:00
index.js Changing bitfield to no longer need privileged intents 2022-10-12 00:56:45 -04:00
package.json first commit 2022-07-22 17:09:13 -05:00
README.md Update README.md 2024-10-03 18:03:40 -04:00

Discord-Linux Discord.JS v14 Base Template

This bot supports user installed apps.

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
DISCORD_CLIENT_ID= ID HERE
  1. Go to Handler -- > index.js and change "GUIDIDHERE" to your Discord Server's Guild ID

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

  3. Run the bot node index.js

Want to make this better? Issue a pull request!