Having this separate would allow for removing the CommandType arguments from regular slash commands, and allow for setting description to "" in the context menu constructor.
The context menu constructor would still need a CommandType argument to differentiate between user and message context menus.
Maybe change all three to static factory methods? "with-single-command", "with-subcommand", "with-context-menu"
Should use a
RootTree
internally.Having this separate would allow for removing the
CommandType
arguments from regular slash commands, and allow for setting description to""
in the context menu constructor.The context menu constructor would still need a
CommandType
argument to differentiate between user and message context menus.Maybe change all three to static factory methods? "with-single-command", "with-subcommand", "with-context-menu"