MIT License

项目介绍

lilith-discord-bot/lilith 是一个托管在 GitHub 上的开源项目,主要使用 TypeScript 编写,采用 MIT License 许可证,目前获得 37 个 Star、19 次 Fork。

仓库全名
lilith-discord-bot/lilith
开源许可证
MIT License
Star 数
37
Fork 数
19
未关闭 Issue
7

README 摘要

Lilith Discord Bot A Discord.js bot for Diablo 4 that allows tracking events, news and more. ⚠️ Project Status: Archived This project has been archived and is no longer actively maintained. You are welcome to fork the repository and continue development on your own, but please note that the original maintainers will not be providing support or accepting contributions. Contributing If you want to contribute to this…

完整内容见 GitHub 原始 README 或本页 。

常见问题

lilith 用什么语言开发?

主要使用 TypeScript 编写,采用 MIT License 许可证,目前有 37 个 Star。

lilith 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 lilith 的源码?

可以直接克隆仓库:git clone https://github.com/lilith-discord-bot/lilith.git;安装与运行步骤见仓库 README。

lilith 最近还在维护吗?

仓库最近一次更新为 2024年8月29日,当前有 7 个未关闭 Issue;Star 数为 37,可作为社区活跃度的参考。

关于

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

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
112
价值分
31
活跃状态
归档

语言占比

Dockerfile
Shell
TypeScript

README

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

Discord

⚠️ Project Status: Archived

This project has been archived and is no longer actively maintained. You are welcome to fork the repository and continue development on your own, but please note that the original maintainers will not be providing support or accepting contributions.

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

  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 with the .env.template and refer to the Environment variables section for more information:
cp .env.template .env
  1. Start the bot
npm run bot:up

Other commands:

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

If you’re running docker, you can just use this, but 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.

docker run --name bot \
    -e TOKEN=your_token \
    -e POSTGRES_DATABASE=your_database \
    -e POSTGRES_HOST=your_host \
    -e POSTGRES_PASSWORD=your_password \
    -e POSTGRES_USER=your_user \
    -e POSTGRES_PORT=your_port \
    -e DATABASE_URL=your_database_url \
    -e REDIS_HOST=your_redis_host \
    -e REDIS_PASSWORD=your_redis_password \
    -d ghcr.io/lilith-discord-bot/lilith:main
Environment variables
Environment Variable Description Example Default
TOKEN Your Discord application bot token MODcxMTY4MgwMFA1MTExNzkzY0.YGm7oQ.AXHbbfpSxi_Cpk1B1Vz_DGV0A0i62NS_XPBCpf N\A
POSTGRES_DATABASE Postgres database name lilith N\A
POSTGRES_HOST Hostname for conneting to Postgres (empty if running with Docker) lilith N\A
POSTGRES_PASSWORD Postgres database connection password lilith N\A
POSTGRES_USER Postgres database connection user lilith N\A
POSTGRES_PORT Postgres database connection port 5432 5432
DATABASE_URL Prisma database connection URL postgresql://user:password@host:5432/database N\A
REDIS_HOST Hostname for conneting to Redis (empty if running with Docker) lilith N\A
REDIS_PASSWORD Redis database connection password lilith N\A

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.

评论

暂无评论