Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚡ LTS: Core #116

Open
wants to merge 14 commits into
base: core
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
.idea
.idea/*
.idea/*

# poetry
poetry.lock
42 changes: 29 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
* 修复卡池问题 @ [89f162b](https://github.com/H-K-Y/Genshin_Impact_bot/commit/89f162b)
* 修复了抽卡、材料获取、黄历在频道中报错的问题 @ [fd28f9e](https://github.com/H-K-Y/Genshin_Impact_bot/commit/fd28f9e)


### 2021-10-30

* 解决超时导致的图鉴图标更新失败问题 @ [542f48e](https://github.com/H-K-Y/Genshin_Impact_bot/commit/542f48e)
Expand All @@ -42,16 +41,20 @@

### 2021-8-16

* 项目移植到nonebot 2 @ [6c1f73b](https://github.com/H-K-Y/Genshin_Impact_bot/commit/6c1f73b)
* 项目移植到nonebot 2 @ [6c1f73b](https://github.com/H-K-Y/Genshin_Impact_bot/commit/6c1f73b)

### 2021-8-14

* 加入 [圣遗物评分](https://github.com/H-K-Y/Genshin_Impact_bot/issues/31) @ [9e5eabf](https://github.com/H-K-Y/Genshin_Impact_bot/commit/9e5eabf)
* 加入 [圣遗物评分](https://github.com/H-K-Y/Genshin_Impact_bot/issues/31)
@ [9e5eabf](https://github.com/H-K-Y/Genshin_Impact_bot/commit/9e5eabf)
* 更新卡池 @ [8b68ef6](https://github.com/H-K-Y/Genshin_Impact_bot/commit/8b68ef6)

### 2021-7-27

* 对资源查询的代码逻辑进行调整,防止资源查询时出现killed @ [928e983](https://github.com/H-K-Y/Genshin_Impact_bot/commit/928e983)
*

对资源查询的代码逻辑进行调整,防止资源查询时出现killed @ [928e983](https://github.com/H-K-Y/Genshin_Impact_bot/commit/928e983)

* 加入新命令 更新原神地图 用于爬取大地图文件 @ [91f5422](https://github.com/H-K-Y/Genshin_Impact_bot/commit/91f5422)

### 2021-6-2
Expand All @@ -60,15 +63,16 @@
* 更新README.md @ [33a4712](https://github.com/H-K-Y/Genshin_Impact_bot/commit/33a4712)
* 部分代码依照PEP标准进行格式化 @ [33a4712](https://github.com/H-K-Y/Genshin_Impact_bot/commit/33a4712)


### 2021-3-28

* 圣遗物收集修改冰本的圣遗物名称,增加岩本 @ [c949f00](https://github.com/H-K-Y/Genshin_Impact_bot/commit/c949f00)
* 加入每日素材提醒 @ [c949f00](https://github.com/H-K-Y/Genshin_Impact_bot/commit/c949f00)

### 2021-3-24

* 加入了原神黄历,黄历的数据来源于 [可莉特调](https://genshin.pub/) @ [3c85818](https://github.com/H-K-Y/Genshin_Impact_bot/commit/3c85818)
*

加入了原神黄历,黄历的数据来源于 [可莉特调](https://genshin.pub/) @ [3c85818](https://github.com/H-K-Y/Genshin_Impact_bot/commit/3c85818)

### 2021-3-11

Expand All @@ -78,7 +82,10 @@

### 2020-12-13

* 资源列表查询现在改为直接抓取米游社地图的数据,每天自动更新 @ [24374bb](https://github.com/H-K-Y/Genshin_Impact_bot/commit/24374bb)
*

资源列表查询现在改为直接抓取米游社地图的数据,每天自动更新 @ [24374bb](https://github.com/H-K-Y/Genshin_Impact_bot/commit/24374bb)

* 修复查询资源列表消息过长导致发送失败的问题 @ [88c219b](https://github.com/H-K-Y/Genshin_Impact_bot/commit/88c219b)

### 2020-11-26
Expand All @@ -91,7 +98,9 @@

### 2020-11-3

* 修复了找神瞳可以添加相同名称的编号导致报错的问题 @ [e38bb44](https://github.com/H-K-Y/Genshin_Impact_bot/commit/e38bb44)
*

修复了找神瞳可以添加相同名称的编号导致报错的问题 @ [e38bb44](https://github.com/H-K-Y/Genshin_Impact_bot/commit/e38bb44)

### 2020-10-31

Expand All @@ -108,24 +117,31 @@
### 2020-10-22

* 修复了4星概率写错了导致4星只能保底抽出的问题 @ [4476bed](https://github.com/H-K-Y/Genshin_Impact_bot/commit/4476bed)
* 加入了更多抽卡的统计结果,比如抽出最多的武器是啥,第一个4星和5星事多少抽出的 @ [f6d5cc6](https://github.com/H-K-Y/Genshin_Impact_bot/commit/f6d5cc6)
*

加入了更多抽卡的统计结果,比如抽出最多的武器是啥,第一个4星和5星事多少抽出的 @ [f6d5cc6](https://github.com/H-K-Y/Genshin_Impact_bot/commit/f6d5cc6)

### 2020-10-21

* 在config.py加入了抽卡限制功能,限制每个人一天最多抽多少次 @ [bcdcba0](https://github.com/H-K-Y/Genshin_Impact_bot/commit/bcdcba0)
感谢[corvo007](https://github.com/corvo007)提出的粪pr (粪pr是他自己说的
*

在config.py加入了抽卡限制功能,限制每个人一天最多抽多少次 @ [bcdcba0](https://github.com/H-K-Y/Genshin_Impact_bot/commit/bcdcba0)
感谢[corvo007](https://github.com/corvo007)提出的粪pr (粪pr是他自己说的

* 修复了第一次切换卡池后不能再切换卡池的问题 @ [2ea0ea2](https://github.com/H-K-Y/Genshin_Impact_bot/commit/2ea0ea2)
* 修复了查看UP信息时报错的问题 @ [2ea0ea2](https://github.com/H-K-Y/Genshin_Impact_bot/commit/2ea0ea2)

### 2020-10-20

* 重构了项目代码 @ [d446ce6](https://github.com/H-K-Y/Genshin_Impact_bot/commit/d446ce6)
~~第二天就重写?,过几天怕是忘了写的啥了........~~
~~第二天就重写?,过几天怕是忘了写的啥了........~~
* 加入的武器UP池和常驻池 @ [d446ce6](https://github.com/H-K-Y/Genshin_Impact_bot/commit/d446ce6)
* 加入了切换卡池的功能 @ [d446ce6](https://github.com/H-K-Y/Genshin_Impact_bot/commit/d446ce6)

### 2020-10-19

* 加入10连抽,90连抽和180连抽 @ [c2f43b4](https://github.com/H-K-Y/Genshin_Impact_bot/commit/c2f43b4)
* 加入抽卡发送图片功能 @ [02b4592](https://github.com/H-K-Y/Genshin_Impact_bot/commit/02b4592)
* 修复了Windows系统发送图片时可能出现的路径问题,图片全部改为base64发送 @ [000122c](https://github.com/H-K-Y/Genshin_Impact_bot/commit/000122c)
*

修复了Windows系统发送图片时可能出现的路径问题,图片全部改为base64发送 @ [000122c](https://github.com/H-K-Y/Genshin_Impact_bot/commit/000122c)
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,15 @@
![LANG](https://img.shields.io/badge/language-python-3572A5?style=flat-square)

![Hoshino](https://img.shields.io/badge/%E7%89%88%E6%9C%AC-Hoshino-ff8a80?style=for-the-badge&logo=data:image/svg+xml;base64,PHN2ZyBkYXRhLXYtMTEyNDFiYTI9IiIgYXJpYS1oaWRkZW49InRydWUiIGZvY3VzYWJsZT0iZmFsc2UiIGRhdGEtcHJlZml4PSJmYXMiIGRhdGEtaWNvbj0iY29kZS1icmFuY2giIHJvbGU9ImltZyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMzg0IDUxMiIgY2xhc3M9InN2Zy1pbmxpbmUtLWZhIGZhLWNvZGUtYnJhbmNoIGZhLXctMTIiIGNvbG9yPSIjZmZmZmZmIj48cGF0aCBkYXRhLXYtMTEyNDFiYTI9IiIgZmlsbD0iY3VycmVudENvbG9yIiBkPSJNMzg0IDE0NGMwLTQ0LjItMzUuOC04MC04MC04MHMtODAgMzUuOC04MCA4MGMwIDM2LjQgMjQuMyA2Ny4xIDU3LjUgNzYuOC0uNiAxNi4xLTQuMiAyOC41LTExIDM2LjktMTUuNCAxOS4yLTQ5LjMgMjIuNC04NS4yIDI1LjctMjguMiAyLjYtNTcuNCA1LjQtODEuMyAxNi45di0xNDRjMzIuNS0xMC4yIDU2LTQwLjUgNTYtNzYuMyAwLTQ0LjItMzUuOC04MC04MC04MFMwIDM1LjggMCA4MGMwIDM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2IDcuMiAxNiAxNnMtNy4yIDE2LTE2IDE2LTE2LTcuMi0xNi0xNiA3LjItMTYgMTYtMTZ6bTAgMzg0Yy04LjggMC0xNi03LjItMTYtMTZzNy4yLTE2IDE2LTE2IDE2IDcuMiAxNiAxNi03LjIgMTYtMTYgMTZ6bTIyNC0zMjBjOC44IDAgMTYgNy4yIDE2IDE2cy03LjIgMTYtMTYgMTYtMTYtNy4yLTE2LTE2IDcuMi0xNiAxNi0xNnoiIGNsYXNzPSIiPjwvcGF0aD48L3N2Zz4=)
![QQ](https://img.shields.io/badge/QQ-GI%20Bot%20Group-9cf?logo=Tencent%20QQ&style=for-the-badge)

</div>

>This is a Genshin Impact plugin for [HoshinoBot](https://github.com/Ice-Cirno/HoshinoBot)
> This is a Genshin Impact plugin for [HoshinoBot](https://github.com/Ice-Cirno/HoshinoBot)
>
>这是一个[HoshinoBot](https://github.com/Ice-Cirno/HoshinoBot)和[nonebot2](https://github.com/nonebot/nonebot2)的原神相关插件

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

## 简介

这个插件帮助群员在QQ群内进行诸如查询资源点位等功能。
Expand All @@ -30,12 +28,12 @@
## 目录

- **部署**
- [安装(HoshinoBot)](https://github.com/H-K-Y/Genshin_Impact_bot/wiki/%E5%AE%89%E8%A3%85%EF%BC%88Hoshino%EF%BC%89)
- [安装(NoneBot2)](https://github.com/H-K-Y/Genshin_Impact_bot/wiki/%E5%AE%89%E8%A3%85%EF%BC%88Nonebot2%EF%BC%89)
- [安装(HoshinoBot)](https://github.com/H-K-Y/Genshin_Impact_bot/wiki/%E5%AE%89%E8%A3%85%EF%BC%88Hoshino%EF%BC%89)
- [安装(NoneBot2)](https://github.com/H-K-Y/Genshin_Impact_bot/wiki/%E5%AE%89%E8%A3%85%EF%BC%88Nonebot2%EF%BC%89)
- **使用**
- [命令](https://github.com/H-K-Y/Genshin_Impact_bot/wiki/%E5%91%BD%E4%BB%A4)
- [演示](https://github.com/H-K-Y/Genshin_Impact_bot/wiki/%E6%95%88%E6%9E%9C%E6%BC%94%E7%A4%BA)
- [常见问题](https://github.com/H-K-Y/Genshin_Impact_bot/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98)
- [命令](https://github.com/H-K-Y/Genshin_Impact_bot/wiki/%E5%91%BD%E4%BB%A4)
- [演示](https://github.com/H-K-Y/Genshin_Impact_bot/wiki/%E6%95%88%E6%9E%9C%E6%BC%94%E7%A4%BA)
- [常见问题](https://github.com/H-K-Y/Genshin_Impact_bot/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98)

## 更新记录

Expand Down
50 changes: 0 additions & 50 deletions __init__.py

This file was deleted.

70 changes: 0 additions & 70 deletions almanac/assets/almanac_list.json

This file was deleted.

6 changes: 0 additions & 6 deletions almanac/assets/config.json

This file was deleted.

Loading