ls-discord-bot icon indicating copy to clipboard operation
ls-discord-bot copied to clipboard

[Enhancement]: Add /doc command.

Open revelcw opened this issue 2 years ago • 7 comments

Explain your idea.

Add a /doc command to the bot that pulls up information about a method/class, including parameters and return type. A similar implementation as this although it could be simpler, without all the buttons to expand would be fine. The embed should have a link to the spigot docs, a code block with the usage, the JavaDoc description, and resolving any link tags in @see tags and JavaDoc links.

https://github.com/I-Al-Istannen/Doctor

This could be useful. This repo makes a SQL database with all the indexed JavaDoc comments and allows querying on that database. https://github.com/I-Al-Istannen/JavadocIndexer

How could you do this differently

Just add a .queue() to the end of the line. 😃

Anything else?

No response

revelcw avatar Dec 22 '22 00:12 revelcw