telegarm robot, query the official genshin information
Go to file
Karako 4c702515a0
Enhance AssetsService
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2022-10-07 13:02:49 +08:00
.github Remove 'indirect' specific types from allow to update dependencies 2022-09-28 10:02:20 +08:00
alembic ♻ 更新V3版本 2022-09-08 09:08:37 +08:00
core Enhance AssetsService 2022-10-07 13:02:49 +08:00
metadata Enhance AssetsService 2022-10-07 13:02:49 +08:00
modules Enhance AssetsService 2022-10-07 13:02:49 +08:00
plugins Enhance AssetsService 2022-10-07 13:02:49 +08:00
resources Enhance AssetsService 2022-10-07 13:02:49 +08:00
tests 支持深境螺旋推荐配队 2022-10-07 00:30:38 +08:00
utils Enhance AssetsService 2022-10-07 13:02:49 +08:00
.deepsource.toml Initial commit 2022-07-26 18:07:31 +08:00
.env.example 添加 mtproto 服务 2022-09-11 15:08:02 +08:00
.gitignore 🐛 修复模板复用不正确导致的错误并改进代码避免触发洪水模式 2022-09-18 01:33:11 +08:00
alembic.ini 使用 alembic 管理数据库版本 2022-09-04 13:52:33 +08:00
LICENSE Initial commit 2022-07-26 18:07:31 +08:00
poetry.lock ⬆ 依赖更新 2022.10.5 2022-10-05 22:45:33 +08:00
pyproject.toml Bump rich from 12.5.1 to 12.6.0 2022-10-03 19:09:43 +08:00
README.md 📝 添加 repobeats 并更新 README.md 2022-09-22 11:04:27 +08:00
run.py ♻ 更新V3版本 2022-09-08 09:08:37 +08:00
update.sh Initial commit 2022-07-26 18:07:31 +08:00

TGPaimonBot

简介

基于 python-telegram-bot 的 Paimon BOT

项目仅供学习交流使用,严禁用于任何商业用途和非法行为

Alt

环境需求

  • Python 3.8+
  • MySQL
  • Redis

使用方法

1. 安装 poetry

pip install --upgrade poetry 

2. 安装依赖

poetry install
playwright install chromium

可选依赖项

poetry install --extras pyro

3. 修改配置

创建 .env 文件并填写数据库连接和 bot token 等参数。

cp .env.example .env

4. 初始化数据库

alembic upgrade head

5. 运行

python ./run.py

其他说明

这个项目目前正在扩展,加入更多原神相关娱乐和信息查询功能,敬请期待。

Thanks

Nickname Introduce
原神抽卡全机制总结 本项目抽卡模拟器使用的逻辑
西风驿站 猫冬 本项目攻略图图源
Yunzai-Bot 本项使用的抽卡图片和前端资源来源
Crawler-ghhw 本项目参考的爬虫代码
Enka.Network 角色卡片的数据来源
miao-plugin 角色卡片的参考项目