Installation

Installation guide to create powerfull discord bot.

To get started with our application, follow these simple steps: install node.js if its not already done.

Prerequisites

Before installing our application, make sure you have the following:

  • Node.js installed on your machine

Installation Steps

This is the steps to clone a TypeScript or JavaScript template

Note:

You can configure or add elements to your project manually with CLI options. See the references.


With npm:

npx create-discord-forge@latest

with pnpm:

pnpx create-discord-forge@latest
# or
pnpm dlx create-discord-forge@latest

Add components

You can add many components in your bot project.

Attention:

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]

Custom components Installation

You can customize the paths where the files will be copied with components.json

{
	"ts": true, // --> typeScript project
	"aliases": {
		"index": "src/index.ts", // --> index relative path
		"components": "src/components", // --> components events folder
		"commands": "src/commands" // --> your commands folder
	}
}