telegarm robot, query the official genshin information
Go to file
2022-09-17 22:58:54 +08:00
.github 👷 添加对 Windows 系统的单元测试 2022-09-15 10:22:40 +08:00
alembic ♻ 更新V3版本 2022-09-08 09:08:37 +08:00
core 角色攻略查询添加须弥角色 2022-09-16 21:03:42 +08:00
metadata 🍱 更新角色昵称 2022-09-09 23:50:10 +08:00
modules 米游社支持直接通过手机号绑定 2022-09-17 22:58:54 +08:00
plugins 米游社支持直接通过手机号绑定 2022-09-17 22:58:54 +08:00
resources 角色卡片添加 InlineKeyboardButton 查询 2022-09-09 23:56:05 +08:00
tests 角色攻略查询添加须弥角色 2022-09-16 21:03:42 +08:00
utils 🐛 修复 logger 打印的路径不正确的 bug 2022-09-11 09:30:45 +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-17 22:58:54 +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 ⬆Bump ujson from 5.4.0 to 5.5.0 2022-09-16 20:01:41 +08:00
pyproject.toml ⬆Bump ujson from 5.4.0 to 5.5.0 2022-09-16 20:01:41 +08:00
README.md 📝 更新 README.md 2022-09-16 00:02:26 +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

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

环境需求

  • 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 角色卡片的参考项目