-
-
Notifications
You must be signed in to change notification settings - Fork 405
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
Add help command that displays docs for all commands in a category #1054
Conversation
sopel/modules/help.py
Outdated
|
||
cmds = bot._command_groups[name] | ||
for cmd in cmds: | ||
cmd_names = name.upper() + ' : ' + '|'.join(cmd) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This causes command names to have | between each character, not sure if that's intended.
<@maxpowa> .module help
<Sopel> HELP : m|o|d|u|l|e : no documentation available for this command.
<Sopel> HELP : h|e|l|p : no documentation available for this command.
The patch assumes that cmds is a list of strings that are aliases for a command, not just a string. That change is in my other PR. |
Blocked by #1053 |
Rebased both this and #1053 |
Reassigning to Sopel 7, along with its sister PR, at least until @calebj responds. |
Current development direction looks like someone will have to take this and possibly rework it on top of whatever changes happen after @Exirel and @HumorBaby finish reworking the (re)loading of plugins. We're definitely into "let's wait and see" territory, at this point. |
@dgw edit: Requires changes made in #1053 to work.