Skip to content

A Discord.js bot for Diablo 4 that allows tracking events, news and more.

License

Notifications You must be signed in to change notification settings

FraWolf/lilith

 
 

Repository files navigation

Lilith Discord Bot

A Discord.js bot for Diablo 4 that allows tracking events, news and more.

Contributing

If you want to contribute to this project, please mind joining the Discord server first.

Installation

We recommend using our hosted version of Lilith, but if you want to host it yourself, follow the instructions below.

Requirements

Setup

Don't forget about the .env file !

  1. Clone the repository
git clone https://github.com/lilith-discord-bot/lilith.git
  1. Install dependencies
npm install
  1. 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
  1. 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

Other commands:

  • npm run bot:stop - Stop the bot
  • npm run bot:restart - Restart the bot
  • npm run bot:rebuild - Rebuild the bot

Issues

If you find a bug or have a feature request, please open an issue on GitHub.

License

This project is licensed under the MIT License.

About

A Discord.js bot for Diablo 4 that allows tracking events, news and more.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • TypeScript 99.6%
  • Dockerfile 0.4%