Skip to content

underctrl-io/commandkit-without-cli

Repository files navigation

CommandKit 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

About

Example of using commandkit without CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published