Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

容易误触发帮助菜单 #58

Closed
Echoosx opened this issue Nov 6, 2021 · 8 comments
Closed

容易误触发帮助菜单 #58

Echoosx opened this issue Nov 6, 2021 · 8 comments
Labels
question Further information is requested

Comments

@Echoosx
Copy link

Echoosx commented Nov 6, 2021

有的时候打“涩图” 会误触发机器人一大串的指令提示,不知道能不能自定义一下帮助菜单,或者直接把help关键词做的指令化一点

@Samarium150
Copy link
Owner

有的时候打“涩图” 会误触发机器人一大串的指令提示,不知道能不能自定义一下帮助菜单,或者直接把help关键词做的指令化一点

可以在CommandConfig.yml里把别名改了,不用涩图

@Echoosx
Copy link
Author

Echoosx commented Nov 6, 2021

确实,只不过有时候群友们会开玩笑,打一个“涩图 来两张”之类的,就会弹出一大串帮助菜单

@Samarium150
Copy link
Owner

确实,只不过有时候群友们会开玩笑,打一个“涩图 来两张”之类的,就会弹出一大串帮助菜单

因为/是可选,所以关键词被当成指令,如果要改的话大概只能把/是否可选加到config里面

@Echoosx
Copy link
Author

Echoosx commented Nov 6, 2021

不过那样的话其他的get之类的功能也会需要/ ,还是算了吧
不知道自定义帮助菜单的话有没有可行性呢

@Samarium150
Copy link
Owner

不过那样的话其他的get之类的功能也会需要/ ,还是算了吧

对,就会变成/涩图 来一张

@Samarium150
Copy link
Owner

不知道自定义帮助菜单的话有没有可行性呢

实际上

参数不匹配, 你是否想执行: 
(/)lolicon add <type> <id>    (参数不足)
(/)lolicon 添加 <type> <id>    (参数不足)
# 此处省略

这部分是由mirai-console回复的,和插件没有关系

@Echoosx
Copy link
Author

Echoosx commented Nov 6, 2021

原来如此,也就是说Mirai-console把插件所有的命令拿过来之后,自动生成了一个帮助菜单
那就先这样吧

@Samarium150 Samarium150 pinned this issue Nov 20, 2021
@Samarium150 Samarium150 added the question Further information is requested label Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants
@Echoosx @Samarium150 and others