Annotation Interface ExtensionInfo


public @interface ExtensionInfo
Annotation used to get metadata about an extension.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Represents the name of the extension.
    Represents the parent bot's username of the extension.
    Represents the version of the extension.
  • Element Details

    • name

      String name
      Represents the name of the extension.
      Returns:
      The name of the extension.
    • version

      String version
      Represents the version of the extension.
      Returns:
      The version of the extension.
    • parentBot

      String parentBot
      Represents the parent bot's username of the extension.

      The parent bot is the bot where the extension gets its updates from.

      Returns:
      The parent bot's username of the extension.