Getting Started
Installation
The fastest way to get started with Lilybird is by using our template generator.
Running 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
Ready 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.