From f9094f49e65758ee90c0cb50b5bd1de45bffc331 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Skirt=E2=9C=BF?= <91937041+X-Skirt-X@users.noreply.github.com> Date: Thu, 6 Oct 2022 16:38:00 +0800 Subject: [PATCH 1/4] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index cbe3945..819f6f8 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,9 @@ nonebot-plugin-dialectlist 💭也可以不进行配置,这将会使插件按照默认配置运行 ### ⚠ 注意!! + + 需要提前安装好[GTK+](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer) + 在windows以外的环境中可能不存在插件默认的字体!请自行改为系统中拥有的字体! ## 命令 From 966e740efc340587ceec0c11c60ab2aa420e3193 Mon Sep 17 00:00:00 2001 From: balh55y <85926883+balh55y@users.noreply.github.com> Date: Fri, 2 Dec 2022 19:09:10 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=8A=E5=91=A8?= =?UTF-8?q?=E8=AF=9D=E5=94=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nonebot_plugin_dialectlist/__init__.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nonebot_plugin_dialectlist/__init__.py b/nonebot_plugin_dialectlist/__init__.py index 213e39c..da755c4 100644 --- a/nonebot_plugin_dialectlist/__init__.py +++ b/nonebot_plugin_dialectlist/__init__.py @@ -72,6 +72,7 @@ rankings = on_command( "今日群话痨排行榜", "昨日群话痨排行榜", "本周群话痨排行榜", + "上周群话痨排行榜", "本月群话痨排行榜", "年度群话痨排行榜", "历史群话痨排行榜", @@ -109,6 +110,13 @@ async def _group_message( hour=0, minute=0, second=0, microsecond=0 ) - timedelta(days=dt.weekday()) state["stop"] = dt + elif command == "上周群话痨排行榜": + state["start"] = dt.replace( + hour=0, minute=0, second=0, microsecond=0 + ) - timedelta(days=dt.weekday() + 7) + state["stop"] = dt.replace( + hour=0, minute=0, second=0, microsecond=0 + ) - timedelta(days=dt.weekday()) elif command == "本月群话痨排行榜": state["start"] = dt.replace(day=1, hour=0, minute=0, second=0, microsecond=0) state["stop"] = dt From 7aa9ea1ce26f47f7ec28a39a3b55eff6fd1d4511 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Skirt=E2=9C=BF?= <91937041+X-Skirt-X@users.noreply.github.com> Date: Mon, 19 Dec 2022 22:29:01 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E6=9B=B4=E6=96=B0README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 819f6f8..edbe867 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,8 @@ nonebot-plugin-dialectlist -`/昨日群话痨排行榜` ————看看昨天的群友发了多少消息! -`/本周群话痨排行榜` ————看看本周的群友发了多少消息! + +-`/上周群话痨排行榜` ————看看上周的群友发了多少消息! -`/本月群话痨排行榜` ————看看这个月的群友发了多少消息! From 348e5014d9db5a7df6f2c317ef4af60ea741741b Mon Sep 17 00:00:00 2001 From: Chen_X <91937041+X-Skirt-X@users.noreply.github.com> Date: Sun, 19 Mar 2023 09:05:16 +0800 Subject: [PATCH 4/4] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index edbe867..593ac7e 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,8 @@ nonebot-plugin-dialectlist \>💬**看看群友们这些天在群里水了多少话**💬< +# 注意,目前的版本还不能和更新后的chatrecorder使用,正在火速修补bug中💥 + ## 版本 ### V1.0