Commit Graph

204 Commits

Author SHA1 Message Date
Karako
5c263ad83d
🎨 改进 daily_material 模块 2022-09-20 23:00:08 +08:00
dependabot[bot]
a64586c8fd
⬆Bump pyrogram from 2.0.52 to 2.0.54
Bumps [pyrogram](https://github.com/pyrogram/pyrogram) from 2.0.52 to 2.0.54.
- [Release notes](https://github.com/pyrogram/pyrogram/releases)
- [Commits](https://github.com/pyrogram/pyrogram/compare/v2.0.52...v2.0.54)

---
updated-dependencies:
- dependency-name: pyrogram
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-20 14:47:50 +08:00
洛水居室
0d96aeb1e3
🎨 改进签到插件的日记输出 2022-09-20 14:46:06 +08:00
洛水居室
350322831d
🎨 捕获 DataNotPublic 异常并改进异常处理 2022-09-20 14:42:12 +08:00
洛水居室
62dbcafa8c
🎨 改进部分函数异常处理 2022-09-19 23:31:17 +08:00
洛水居室
1aa0e3d38d
🎨 改进 Bot 邀请验证 2022-09-19 17:20:41 +08:00
洛水居室
0e6125e3ee
🎨 使用 update.effective_message 获取消息 2022-09-18 16:35:37 +08:00
洛水居室
a2aa8fbdc9
🎨 给日记插件添加操作记录 2022-09-18 16:16:33 +08:00
Karako
0babbc7351
🐛 修复 daily_material 参数错误的问题 2022-09-18 16:14:23 +08:00
洛水居室
69ee1567de
添加日记发送插件 2022-09-18 16:11:09 +08:00
Karako
e038046365
🎨 改进代码
💡 给 `daily_material` 模块添加注释
🎨 使用 `AssetsService` 管理 `weapon` 模块的武器和材料图标
2022-09-18 12:19:29 +08:00
Karako
a7b28b0688
🎨 改进代码
1. 取消了 daily_material 模块的提示消息撤回
2. 为 daily_material 添加命令日志
3. 删除无用代码
2022-09-18 02:07:42 +08:00
omg-xtao
b477dc7648
🐛 修复模板复用不正确导致的错误并改进代码避免触发洪水模式
Co-authored-by: Karako <karakohear@gmail.com>
Co-authored-by: 洛水居室 <luoshuijs@outlook.com>
2022-09-18 01:33:11 +08:00
Karako
feb717b28b
🐛 修复一个小问题 2022-09-18 00:44:51 +08:00
Karako
7f8db29c1e
🐛 修复一个小问题 2022-09-18 00:34:50 +08:00
Karako
5016f7cb0f
添加查看今日素材表功能 2022-09-18 00:28:51 +08:00
omg-xtao
babdb90db7
米游社支持直接通过手机号绑定 2022-09-17 22:58:54 +08:00
洛水居室
c6baac1659
角色攻略查询添加须弥角色 2022-09-16 21:03:42 +08:00
dependabot[bot]
0addf6fe60
⬆Bump ujson from 5.4.0 to 5.5.0
Bumps [ujson](https://github.com/ultrajson/ultrajson) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/ultrajson/ultrajson/releases)
- [Commits](https://github.com/ultrajson/ultrajson/compare/5.4.0...5.5.0)

---
updated-dependencies:
- dependency-name: ujson
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-16 20:01:41 +08:00
dependabot[bot]
44356705e4
⬆Bump pyrogram from 2.0.51 to 2.0.52
Bumps [pyrogram](https://github.com/pyrogram/pyrogram) from 2.0.51 to 2.0.52.
- [Release notes](https://github.com/pyrogram/pyrogram/releases)
- [Commits](https://github.com/pyrogram/pyrogram/compare/v2.0.51...v2.0.52)

---
updated-dependencies:
- dependency-name: pyrogram
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-16 19:55:02 +08:00
Karako
04b684bb2e
🐛 修复当爬取数据时出现 SSLZeroReturnError 错误后无法继续爬取数据的问题 2022-09-16 12:22:22 +08:00
Karako
ffb404e43b
📝 更新 README.md 2022-09-16 00:02:26 +08:00
dependabot[bot]
98afb1a96d
⬆Bump certifi from 2022.6.15.2 to 2022.9.14
Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.6.15.2 to 2022.9.14.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](https://github.com/certifi/python-certifi/compare/2022.06.15.2...2022.09.14)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-15 19:00:37 +08:00
洛水居室
2131600df8
👷 添加对 Windows 系统的单元测试 2022-09-15 10:22:40 +08:00
omg-xtao
0c62cc8b27
🐛 批量修复代码BUG
⚙️ 获取 Redis cookies 池函数从 `zrevrange` 替代为 `zrange`
🐛 修复 fakeredis 无效
📝优化文本描述
🎨 提高代码质量

Co-authored-by: 洛水居室 <luoshuijs@outlook.com>
2022-09-15 09:29:41 +08:00
洛水居室
340741543a
🎨 角色卡片插件 get_player_cards 函数添加 @error_callable 修饰器 2022-09-15 09:29:41 +08:00
洛水居室
b35dc25e79
⬆ 更新可选依赖 2022-09-15 09:29:41 +08:00
dependabot[bot]
d8a0e223c0
⬆ Bump aiofiles from 0.8.0 to 22.1.0 2022-09-15 09:29:40 +08:00
dependabot[bot]
dbc45d35d1
⬆ Bump python-dotenv from 0.20.0 to 0.21.0 2022-09-15 09:29:17 +08:00
洛水居室
26c20fd921
🎨 添加 CI 定时任务
每周星期三12:00(UTC+8)执行
2022-09-13 00:25:11 +08:00
洛水居室
5047663a82
🎨 移除多余 CI 配置文件并修改触发目录 2022-09-13 00:24:56 +08:00
洛水居室
50de1f3555
♻ 重写单元测试
默认测试运行程序从 `unittest`  改为 `pytest`

Co-authored-by: xtaodada <xtao@xtaolink.cn>
Co-authored-by: Karako <karakohear@gmail.com>
2022-09-12 23:18:11 +08:00
20bd2a380d
🎨 修复CI文件 2022-09-12 17:43:16 +08:00
洛水居室
13e9e2bf1c
🎨 仅在推送文件到 main 分支时运行CI分支并且添加包含路径仅限于单元测试 2022-09-12 16:39:44 +08:00
洛水居室
3fa18ef06a
Implement Github Actions Test 2022-09-12 16:24:04 +08:00
洛水居室
c326d52fe1
⬆ Create Dependency Policy 2022-09-12 12:52:34 +08:00
洛水居室
a653a25562
🎨 修改错误报告的形式为文件发送 2022-09-11 21:15:01 +08:00
洛水居室
b252768dfc
🐛 修复旅行札记接收其他消息类型引发的错误 改正错字 2022-09-11 18:50:04 +08:00
3b8da71f6d
🩹 优化群验证 mtp 模块 2022-09-11 18:16:34 +08:00
0d4febd7f5
🔧添加用于EnkaNetworkAPI的User-Agent 2022-09-11 17:21:27 +08:00
9b0ae0160c
🩹 优化群验证 mtp 模块 2022-09-11 16:45:05 +08:00
洛水居室
91f2478676
🎨 修改 MTProto 模块未导入的日记等级为 info
问题不大
2022-09-11 15:41:06 +08:00
洛水居室
ad929209fc
🎨 群验证模块搜索消息时忽略入群消息 2022-09-11 15:37:41 +08:00
洛水居室
8c70f81562
🎨 添加检测验证缝隙间发送消息到群验证模块 2022-09-11 15:26:06 +08:00
洛水居室
437107dd35
添加 mtproto 服务
 添加 `mtproto` 服务 为特殊功能做准备

Co-authored-by: xtaodada <xtao@xtaolink.cn>
2022-09-11 15:08:02 +08:00
Karako
caee148535
🐛 修复 logger 打印的路径不正确的 bug 2022-09-11 09:30:45 +08:00
洛水居室
8db608c156
🎨 给群验证模块添加 @restricts 修饰器 2022-09-11 00:39:32 +08:00
洛水居室
bf4b72cb9e
🔧 梅开二度之修复角色卡片评分规则的错误 2022-09-10 23:44:43 +08:00
Karako
7cbe83df36
🎨 忽略除本项目外的其它日志 2022-09-10 23:43:49 +08:00
Karako
a524a869d3
新增 logger 的配置选项
1. `LOGGER_WIDTH`: `logger` 的宽度
2. `LOGGER_LOG_PATH`: 日志所保存的位置
3. `LOGGER_TIME_FORMAT`: 日志的时间格式
4. `LOGGER_TRACEBACK_MAX_FRAMES`: `logger` 回溯 `traceback` 的最大帧数
5. `LOGGER_RENDER_KEYWORDS`: 需要 'logger' 高亮的关键字
2022-09-10 23:30:13 +08:00