feat(赛马插件): 为测试模拟赛马命令添加别名
添加"测试模拟"作为"测试模拟赛马"命令的别名,并设置block=True防止命令冲突
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user