Develop
As dependence
bash
pnpm install kotori-botOf 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/kotori2.Install dependencies
bash
pnpm install3.Run
bash
pnpm devOther scripts:
serveStart with production environmentbuildBuild all packages at the workspacedev:onlyOnly start elsenodemonpubPublish all packages at the workspace basepublicaccesstestRun all unit tests at the workspaceversionGenerateCHANGELOG.md