refactor(commands): 重构/help指令以动态显示实际命令并补充部分命令描述

This commit is contained in:
Oscar
2025-12-11 14:34:46 +08:00
parent 6fd86eda13
commit c6739105c4
5 changed files with 61 additions and 32 deletions

View File

@@ -244,7 +244,7 @@ class Main(star.Star):
@filter.command_group("pi")
def pi(self):
pass
"""代码执行器配置"""
@pi.command("absdir")
async def pi_absdir(self, event: AstrMessageEvent, path: str = ""):