From 6e76ffb60fa35878251e8ed4d33f8e795fd76973 Mon Sep 17 00:00:00 2001 From: HibiKier <775757368@qq.com> Date: Thu, 2 Mar 2023 21:01:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AF=8D=E4=BA=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 +++ models/chat_history.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7d55a2de..0f136cd5 100644 --- a/README.md +++ b/README.md @@ -335,6 +335,9 @@ PS: **ARM平台** 请使用全量版 同时 **如果你的机器 RAM < 1G 可能 * 修复config.yaml中把False也当成None的问题 [@pull/1288](https://github.com/HibiKier/zhenxun_bot/pull/1288) * 删除道具表无用字段(props) [@pull/1287](https://github.com/HibiKier/zhenxun_bot/pull/1287) +* 修复词云 +* 修复我的签到签到图片 +* 更正BuffSkin添加语句 ### 2022/3/1 diff --git a/models/chat_history.py b/models/chat_history.py index f30f325b..4fea595d 100644 --- a/models/chat_history.py +++ b/models/chat_history.py @@ -105,7 +105,7 @@ class ChatHistory(Model): create_time__gte=datetime.now() - timedelta(days=days) ) elif isinstance(days, tuple): - query = query.filter(create_at__range=days) + query = query.filter(create_time__range=days) return await query.all() # type: ignore @classmethod