-
Notifications
You must be signed in to change notification settings - Fork 14
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
Custom documentation "items" #16
Comments
The current use If you're trying to add documentation to one of your extensions, that is something that is supported by the |
I'm building a raw message handler, and not an extension, is that still applicable? |
Ahhhh I see. Raw message handlers aren't integrated into the documentation system in the same way that extensions and commands are. Changes could be made to include those in the documentation, but since they aren't invoked in the same way that extensions/commands are, it might be prudent do separate them from the standard documentation in the output. |
Having a way to add some content to embed to the help embed would be nice, especially if it's a custom "command" filter, which would just add some "commands" or keywords. |
I have a custom handler that handles a set of "formats".
I'd like to document them.
In bot.clj I found about
register-extension-docs!
, which seems to be for this exact purpose, but... How do one actually use it?I tried a primitive code with typings as
(register-extension-docs! "" "")
(with actual values), but I get a HTTP 400 error, with the following body:The text was updated successfully, but these errors were encountered: