CLI Overview
Last updated
Last updated
The following commands are included in make-bot.ts. Use these sub commands via the bot
command to create bot objects or any else.
Type bot <command> --help
to get help about the sub command.
Command | Description |
---|---|
Use these scripts via yarn
, npm run
of bun run
to manage your project.
Command | Description |
---|---|
bot new
Generate a new bot
bot config
Update the bot configuration
bot add
Generate a bot component
Compile TypeScript from ./src
to ./dist
directory
Build and run the bot from ./dist
Beatify files in ./src
using a --no-semi
config
Run ESLint on source code for code linting
Build, run and watch files
Check if TypeScript types are valids and if the bot run correctly
Update core/native files of bot.ts
Generate a readme from your bot files
Same of the build command, but optimized for production