Discord JS Project Creator (djspc) is a package which allow to create a basic discord.js project all functional with a commands handler and a test command.
npm i -g djspc
Then in your Command Prompt...
djspc
Discord JS Project Creator (djspc) gives you 3 different options.
-
Create a new Project Which will create a brand new Discord.js project with the credentials you provided.
-
Add a command Which Allow to create a brand new command template with the name you want in any project you want not only djspc's Projects
-
Add an Event Which Allow to create any discord.js Event template in any project you want not only djspc's Projects
Discord JS Project Creator (djspc) work as a native prompt cmd. Just type djspc in cmd prompt and follow the steps.
Then you cd in your project folder which was just created and type the following command:
- npm i
After this you have to modify the config.json to add your bot token.
You can now run the bot with the command:
- node main.js
Enjoy!