create-discord-forge
v1.0.41
Published
A CLI made with Commander to create a Discord and easily add advanced features to your bot made with discord.js in TypeScript or JavaScript
Maintainers
Readme
Discord-Forge
A CLI made with Commander to create a Discord and easily add advanced features to your bot made with discord.js in TypeScript or JavaScript
See the documentation
Authors
Usage
Run create-discord-forge CLI
with npm:
npx create-discord-forge@latestwith pnpm:
pnpx create-discord-forge@latest
# or
pnpm dlx create-discord-forge@latestAdd feature to project
You can add many independent components with the CLI, make sure you run the CLI with the latest version so you don't miss new components
Available components
- Ban
- Kick
- Warn
How to install
[Components] is an optional argument
Please note that the CLI does not work without an index in the root of a src folder.
with npm
npx create-discord-forge@latest add [components]with pnpm
pnpx create-discord-forge@latest add [components]
# or
pnpm dlx create-discord-forge@latest add [components]CLI Options Reference
Global CLI Options
| Option | Description | Default |
| --- | --- | --- |
| --name <name> | Set the project name | discord-forge |
| --template <template> | Set the template to use | default |
| --typescript, -t | Use TypeScript instead of JavaScript | false |
| --dependencies, -d | Install dependencies after scaffolding | true |
| --engine <engine> | Set the engine to use | default |
| --version | Show CLI version | 0.1.0 |
| --help | Show help | — |
add Command
Arguments
| Argument | Description |
| --- | --- |
| [features...] | List of features/modules to add (e.g., ban, kick, command-slash) |
Options
| Option | Description |
| -------------------- | ---------------------- |
| --typescript, -t | Use TypeScript modules |
