Skip to content

Bot-Developer-Distract/DiscordJS-Commands-Handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Read this!

If you are trying to copy the ENTIRE project and then making a video about it, you will get a copyright strike by me if my credits aren't there. Please do some changes to your project so you don't get a copyright strike! If you did it, you can credit me in any time you want.

DiscordJS-Commands-Handler

A unique & coolest Discord bot commands handler built with discord.js v14. It handlers only application commands, such as slash commands and context menu commands. So if you want prefix commands, then you can not use this project. By the way, if you want to connect to the database called MongoDB, it is already provided! Just provide your MongoDB URI in the configuration file.

Setup the project

Dependencies installation:

Firstly, install package-lock.json file:

npm init -y

Then install the required dependencies:

npm i discord.js@14 discord.js-v14-helper ms mongoose

Start the project:

The setup for now is for Visual Studio Code users only. If you are a repl.it user and non-beginner programmer, you can read the setup below but you have to edit the Environment processing for MongoDB and the bot token.

    1. Install Visual Studio Code.
    1. Install node.js.
    1. Open command prompt and then type node -v and make sure that you have installed node.js version 16.9.0 or above.
    1. Download the project and extract the folder from .zip folder to a normal folder.
    1. Open the folder on a new VSCode tab.
    1. Go to src/config/main.js and edit the properties of each file.
    1. Open terminal, use the command cd to access to your project folder, then type node index.js, node ., or npm start.
    1. Enjoy!!!

Issues

If you have an issue, do not start to panic! Create an issue right here and wait for me or some people to respond to your errors. Please remember to not create an issue that includes "it's broken", "not working at all", or other similar comments like these, thank you.

Project made with ❤ by T.F.A#7524. Make sure to credit to me when you are trying to make a clone of this handler, thank you!

About

A unique & coolest Discord bot commands handler built with discord.js v14.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published