feat(赛马插件): 为测试模拟赛马命令添加别名

添加"测试模拟"作为"测试模拟赛马"命令的别名,并设置block=True防止命令冲突
This commit is contained in:
2026-04-04 21:25:45 +08:00
parent 1c9d964747
commit 699b57d1ea

View File

@@ -133,7 +133,7 @@ def _generate_random_horse_names(count: int) -> list[str]:
return list(names)[:count] 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: class _FakeBot: