18.13.0
. Some package may struggle to install on newer node versions. If so, you will need to install node version manager to switch between node versions. Guide found here.2
files!Firstly run the command in your terminal npm i
to install the necessary packages from the package.json
file.
Go into the .example.env
file and remove the .example
part so it just reads .env
Fill out all sections in the new .env
file.
Head over to the config.js
file found in the src
folder.
Edit the config.js
file to your liking but make sure to keep the same naming conventions. Only change the parts in " "
Once you've done this, you should be ready to go, the bot should be fully functioning!
NOTE: For this, you will need to install an older version of mongoDB, 6.0.12. To install this run npm i [email protected]
Once you've set the bot up, there a few commands I've already added for you. You can see these commands by browsing through both the prefix
and commands
folders.
The default prefix for the bot is a ?
unless you've changed it in the config.js
file.
The trigger folder is a new thing I've added. This is built for handling js message.content.includes
aspects.
For this, if you @ the bot, it will return a message with the current slash commands in the commands
folder.
If you are getting persistent errors in your code, try your best to work them out yourself, but if you get stuck, you can open a JavaScript help post here
Alternatively you can add me on discord here and DM me your issue and I can try my best to help, however, I'm very tight on time at the moment. You'd be best opening a help post!