LauraXD Base Code
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/Info - 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.
Usage
-
Clone this repo:
git clone https://git.codingvm.codes/LauraOrchid/LauraXD.git -
cd lauraxd -
Use
npm init -
Install dependencies:
npm install discord.js dotenv glob format-duration -
nano .envand put this:
TOKEN="your bot token here"
-
nano lauraxd/handler/index.jsand change "GUIDIDHERE" to your Discord Server's Guild ID -
Go into https://discord.com/developers/applications and enable all 3 intents (presence, members, and message content) in your application.
-
cd ../..(go back to root path of the bot directory) and run the bot:node index.js
Have fun! -Laura 💖