You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
5 months ago | |
---|---|---|
commands/Info | 5 months ago | |
events | 5 months ago | |
handler | 5 months ago | |
.gitignore | 5 months ago | |
README.md | 5 months ago | |
output.txt | 5 months ago | |
package.json | 5 months ago | |
raven_ai.js | 5 months ago | |
test.sh | 5 months ago |
README.md
Discord-Linux 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.
-
Use
npm i
-
Create a .env file
touch .env
-
Edit .env
TOKEN = token
-
Go to Handler -- > index.js and change "GUIDIDHERE" to your Discord Server's Guild ID
-
Go into https://discord.com/developers/applications and enable Privileged Intents.
-
Run the bot
node index.js
Want to make this better? Issue a pull request!