@lunibee/create
v0.3.3
Published
Scaffold a new Lunibee Discord bot project.
Readme
@lunibee/create
Scaffold a new Lunibee bot.
bun create @lunibee my-bot
# or: npm create @lunibee my-bot
cd my-bot
bun install
DISCORD_TOKEN=your_token bun run src/index.tsIt writes a package.json (ESM, start script, lunibee dependency) and a
src/index.ts that logs in and prints Ready!. Omit the directory to scaffold into the
current folder.
Until 0.2.2 this package was published as create-lunibee; that name is deprecated.
Programmatic use:
import { createProject } from "@lunibee/create";
const files = createProject({ directory: "my-bot", name: "my-bot" });
console.log(Object.keys(files)); // ["package.json", "src/index.ts"]