1.0.6 • Published 3 years ago

dworker-cli v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

DWorker Tool - CLI

Is a Command Line Tools for DWorker Library.


How to install

You just install it in global!

npm install dworker-cli -g

How 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 new

Create Command

You just type it like below.

dworker create --type=command --name=ping

And 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=ready

Setup tsconfig

You can use this command to automatic setup.

dworker setup

Yeah! that's just it. Enjoy your bot! ❤

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago