-
Notifications
You must be signed in to change notification settings - Fork 5
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
/help command #17
/help command #17
Comments
I think that it should be built into the kernel, and it should parse the active config and generate the available commands. |
@0x4007 I believe so too. Still means the kernel should have a way to query each plugin to know their available commands. Only way I see to avoid querying them is directly reading the |
/help |
Available Commands
|
We might want to remove |
/start |
Tips:
|
This help menu is just for slash commands. To register it as a slash command, it should be mandatory to define in the config. The help menu is not intended to explain every webhook event result.
They know what they were doing when they created the username. It's fine. |
@0x4007 I believe for now I will read the command and description from the configuration file and display it in a similar fashion as we have now like #17 (comment) |
Yes I am leaning towards this being in the kernel as well, unless its viable to isolate into its own codebase. Ideally we have it on a Cloudflare Worker in its own plugin, and then perhaps have it set in the kernel to call it either via hard coding or an environment variable of "built-ins" |
I think having it in the kernel seems most logical since it already has the config and it's not so much code |
+ Evaluating results. Please wait... |
In the v1 of the bot, the
/help
would help the user to see all available commands with the Bot. The v2 should also offer a similar capability.It is trickier because now each plugin is capable of handling its own commands. We should find a way to collect all of them and output them in a table, looking like
/help
Few possible ways:
command
section of the configuration fileThe text was updated successfully, but these errors were encountered: