telegarm robot, query the official genshin information
Go to file
2022-09-11 09:30:45 +08:00
alembic ♻ 更新V3版本 2022-09-08 09:08:37 +08:00
core 🎨 忽略除本项目外的其它日志 2022-09-10 23:43:49 +08:00
metadata 🍱 更新角色昵称 2022-09-09 23:50:10 +08:00
modules 🔧 梅开二度之修复角色卡片评分规则的错误 2022-09-10 23:44:43 +08:00
plugins 🎨 给群验证模块添加 @restricts 修饰器 2022-09-11 00:39:32 +08:00
resources 角色卡片添加 InlineKeyboardButton 查询 2022-09-09 23:56:05 +08:00
tests ♻ 更新V3版本 2022-09-08 09:08:37 +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 新增 logger 的配置选项 2022-09-10 23:30:13 +08:00
.gitignore ♻ 更新V3版本 2022-09-08 09:08:37 +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 ♻ 更新V3版本 2022-09-08 09:08:37 +08:00
pyproject.toml ♻ 更新V3版本 2022-09-08 09:08:37 +08:00
README.md 添加角色卡片插件 2022-09-09 22:50:17 +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

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