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:
your-bot├── globals.d.ts├── tsconfig.json├── package.json├── .env└── src └── index.tsAdding 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 with TypeScript
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