This repository has been archived by the owner on Feb 10, 2023. It is now read-only.
有方法获得插件已加载的命令的列表吗? #310
Answered
by
Karlatemp
AdorableParker
asked this question in
问答
Replies: 1 comment
-
CommandManager.allRegisteredCommands
CommandManager.getRegisteredCommands(owner: CommandOwner): List<Command> |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
AdorableParker
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
用于实现插件的help命令,本来是打算使用mirai自带的help命令的,但是自带的help命令会把console的权限管理等一堆的命令名暴露出来,既不需要,也不安全(至少看起来不安全。。
Beta Was this translation helpful? Give feedback.
All reactions