From 699b57d1ea326ef289896e9afe568cbfb4c217d5 Mon Sep 17 00:00:00 2001 From: "Mr.Xia" <1424473282@qq.com> Date: Sat, 4 Apr 2026 21:25:45 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=B5=9B=E9=A9=AC=E6=8F=92=E4=BB=B6):=20?= =?UTF-8?q?=E4=B8=BA=E6=B5=8B=E8=AF=95=E6=A8=A1=E6=8B=9F=E8=B5=9B=E9=A9=AC?= =?UTF-8?q?=E5=91=BD=E4=BB=A4=E6=B7=BB=E5=8A=A0=E5=88=AB=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加"测试模拟"作为"测试模拟赛马"命令的别名,并设置block=True防止命令冲突 --- danding_bot/plugins/group_horse_racing/test_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/danding_bot/plugins/group_horse_racing/test_commands.py b/danding_bot/plugins/group_horse_racing/test_commands.py index 570c314..3262d0b 100644 --- a/danding_bot/plugins/group_horse_racing/test_commands.py +++ b/danding_bot/plugins/group_horse_racing/test_commands.py @@ -133,7 +133,7 @@ def _generate_random_horse_names(count: int) -> list[str]: return list(names)[:count] -test_simulate_race_cmd = on_command("测试模拟赛马", priority=5) +test_simulate_race_cmd = on_command("测试模拟赛马", aliases={"测试模拟"}, priority=5, block=True) class _FakeBot: