-
Notifications
You must be signed in to change notification settings - Fork 1
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 handler #4
Comments
Would this include things it can help with, such as certain commands you can run with help? For example, if you just ran "help" or "botname help" (or it could support both), it would list the different commands it can help you with. I guess sort of like --usage but instead of different arguments you can include, it lists the different commands you can run, and a short description of each. And then if you run "help command" it handles that command. The only problem I can think is that you then have to hard code in each command that it handles. What do you think? Too much? Just throwing around ideas. |
it is common for IRC bot commands to be prefaced with a '!' I suggested If we did not support |
I guess then I'm just not understanding how the I was thinking along the lines of the bots being able to help with different things and so I thought if you just said Also, I'm not seeing how you would be able to do things with these help messages if you don't include cases for responding appropriately. But maybe I'm just over thinking the issue. |
The help message could be expressed similarly to a usage statement on command line application. It doesn't necessarily need to provide a long detailed response on how to perform an action. Stuff like that would probably be left to wiki documentation. |
Oh so it would be sort of like a I was thinking you would ask the bot But sort of listing everything the bot does makes a lot more sense. |
Some handler that responds to
!<botname> help
or maybe just!help
This might include adding another abstract method to the handler class, which is something like
This way, the help handler could iterate over all the bots handlers and tell us about the functionality of each handler the bot has
The text was updated successfully, but these errors were encountered: