Class Commands.CommandInfo

  • Enclosing class:
    Commands

    public static class Commands.CommandInfo
    extends Object
    Class used for the addCommand(...) methods.
    You set the name, description and category through the constructor.

    Note that the description and category can be set to null, which makes them default to the following values:

    • description defaults to an empty String ("")
    • category defaults to null (Which is treated as All on the API)