Skip to content
This repository was archived by the owner on Oct 19, 2025. It is now read-only.

Latest commit

 

History

History
32 lines (21 loc) · 870 Bytes

File metadata and controls

32 lines (21 loc) · 870 Bytes

CommandKit without CLI

Important

This repository has been archived in favor of examples/without-cli

This is an example of a CommandKit project without using the CLI. Note that not using CLI has some drawbacks, such as not being able to use some plugins that require syntax transformation.

To run this project

  1. First, install dependencies:
pnpm install
  1. Add your bot token to the .env file.

  2. Then, run the project:

pnpm start
# or
COMMANDKIT_IS_CLI=true node src/index.js

Note: You must set COMMANDKIT_IS_CLI=true environment variable when running the project without CLI. Not setting this variable will cause the project to fail with errors.

Useful links