1.0.6 • Published 4 years ago
dworker-cli v1.0.6
DWorker Tool - CLI
Is a Command Line Tools for DWorker Library.
How to install
You just install it in global!
npm install dworker-cli -gHow to use it
Before you use commands you need to imagine your folder structure like this.
- YourProject/
- dist/
- node_modules/
- src/
- Commands/
- Listeners/Create Project
Use this command when you so tired to install manually hahaaa.
dworker newCreate Command
You just type it like below.
dworker create --type=command --name=pingAnd then your folder src/Commands/ will get a file name Ping.ts
Create Listener
Just like how to create command. Just change --type=command to --type=listener and --name=event event you can find it in documentation of discord.js. will be like.
dworker create --type=listener --name=readySetup tsconfig
You can use this command to automatic setup.
dworker setupYeah! that's just it. Enjoy your bot! ❤