Getting Started
Installation
The fastest way to get started with Lilybird is by using our template generator.
bun create @lilybirdnpm create @lilybirdpnpm create @lilybirdyarn create @lilybirdRunning your first bot
After running the command you should see a file structure somewhat like this:
- globals.d.ts
- tsconfig.json
- package.json
- .env <- add your token here
Directorysrc
- index.ts
Adding your token
To add your bot token open your .env file and add the token after TOKEN=.
Starting your bot
npm run devnpm run startReady for production
If you are using TypeScript we highly recommend adding NODE_ENV="production" to your .env file and if you are using Node, do the following.
npm run buildnpm run start