A Discord.js bot for Diablo 4 that allows tracking events, news and more.
If you want to contribute to this project, please mind joining the Discord server first.
We recommend using our hosted version of Lilith, but if you want to host it yourself, follow the instructions below.
Don't forget about the
.env
file !
- Clone the repository
git clone https://github.com/lilith-discord-bot/lilith.git
- Install dependencies
npm install
- Create a
.env
file in the root directory and add the following:
TOKEN=your_token_here
#Database
POSTGRES_HOST=postgres_database_host # Doesn't need to be set if running with Docker.
POSTGRES_USER=postgres_database_user
POSTGRES_PASSWORD=postgres_database_password
POSTGRES_DATABASE=postgres_database
DATABASE_URL="postgresql://user:password@host:5432/database"
#Cache
REDIS_HOST=redis_host # Doesn't need to be set if running with Docker.
REDIS_PORT=0000 # Doesn't need to be set if running with Docker.
REDIS_PASSWORD=redis_password
- Start the bot
npm run bot:up
If you're running docker, you can just use
docker run --name bot -e REDIS_HOST=redis -e REDIS_PASSWORD=password -e DATABASE_URL=something://user:password@host:port/database ghcr.io/lilith-discord-bot/lilith:latest
you still have to run Redis and a database, if you don't wanna bother with that,
npm run bot:up
sets everything up for you using compose
npm run bot:stop
- Stop the botnpm run bot:restart
- Restart the botnpm run bot:rebuild
- Rebuild the bot
If you find a bug or have a feature request, please open an issue on GitHub.
This project is licensed under the MIT License.