Class Javacord


  • public class Javacord
    extends java.lang.Object
    This class contains some static information about Javacord.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.time.Instant BUILD_TIMESTAMP
      The build timestamp at which the current Javacord version was built.
      static java.lang.String COMMIT_ID
      The commit ID from which the current Javacord version was built.
      static java.lang.String DISCORD_API_VERSION
      The API version from Discord which we are using.
      static java.lang.String DISCORD_CDN_DOMAIN
      The domain of Discord's CDN.
      static java.lang.String DISCORD_DOMAIN
      The domain of Discord.
      static java.lang.String DISCORD_GATEWAY_VERSION
      The gateway version from Discord which we are using.
      static java.lang.String DISCORD_VOICE_GATEWAY_VERSION
      The voice gateway version from Discord which we are using.
      static java.lang.String DISPLAY_VERSION
      The display version of the current Javacord version.
      static java.lang.String GITHUB_URL
      The GitHub url of javacord.
      static java.lang.String USER_AGENT
      The user agent used for requests.
      static java.lang.String VERSION
      The current Javacord version.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • VERSION

        public static final java.lang.String VERSION
        The current Javacord version.
        See Also:
        DISPLAY_VERSION
      • COMMIT_ID

        public static final java.lang.String COMMIT_ID
        The commit ID from which the current Javacord version was built.
        See Also:
        DISPLAY_VERSION
      • BUILD_TIMESTAMP

        public static final java.time.Instant BUILD_TIMESTAMP
        The build timestamp at which the current Javacord version was built.
        See Also:
        DISPLAY_VERSION
      • DISCORD_DOMAIN

        public static final java.lang.String DISCORD_DOMAIN
        The domain of Discord.
        See Also:
        Constant Field Values
      • DISCORD_CDN_DOMAIN

        public static final java.lang.String DISCORD_CDN_DOMAIN
        The domain of Discord's CDN.
        See Also:
        Constant Field Values
      • DISPLAY_VERSION

        public static final java.lang.String DISPLAY_VERSION
        The display version of the current Javacord version. If the current Javacord version is a release version, it is equal to VERSION. If the current Javacord version is a snapshot version, it consists of the VERSION, the COMMIT_ID, and the BUILD_TIMESTAMP. For displaying the version somewhere it is best to use this constant.
        See Also:
        VERSION, COMMIT_ID, BUILD_TIMESTAMP
      • GITHUB_URL

        public static final java.lang.String GITHUB_URL
        The GitHub url of javacord.
        See Also:
        Constant Field Values
      • USER_AGENT

        public static final java.lang.String USER_AGENT
        The user agent used for requests.
      • DISCORD_GATEWAY_VERSION

        public static final java.lang.String DISCORD_GATEWAY_VERSION
        The gateway version from Discord which we are using. A list with all gateway versions can be found here.
        See Also:
        Constant Field Values
      • DISCORD_VOICE_GATEWAY_VERSION

        public static final java.lang.String DISCORD_VOICE_GATEWAY_VERSION
        The voice gateway version from Discord which we are using. A list with all voice gateway versions can be found here.
        See Also:
        Constant Field Values
      • DISCORD_API_VERSION

        public static final java.lang.String DISCORD_API_VERSION
        The API version from Discord which we are using. A list with all API versions can be found here.
        See Also:
        Constant Field Values