Develop
As dependence
bash
pnpm install kotori-bot
Of course, you can also install @kotori-bot/core
or @kotori-bot/loader
by according your needs, about the difference and modifications between them, see architecture.
typescript
import { Loader } from 'kotori-bot'
const loader = new Loader()
loader.run(true)
Secondary development
1.Clone the repository
bash
git clone https://github.com/kotorijs/kotori
2.Install dependencies
bash
pnpm install
3.Run
bash
pnpm dev
Other scripts:
build
Build all packages at the workspacebuild:action
Build all packages at the workspace base safe mode.dev:only
Only start elsenodemon
pub
Publish all packages at the workspace basepublic
accesstest
Run all unit tests at the workspaceversion
GenerateCHANGELOG.md