Class DiscordReady


  • public final class DiscordReady
    extends java.lang.Object
    Called when the RPC connection has been established
    • Constructor Summary

      Constructors 
      Constructor Description
      DiscordReady​(java.lang.String userId, java.lang.String username, java.lang.String discriminator, java.lang.String avatar)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getAvatar()
      The avatar of the active user
      java.lang.String getDiscriminator()
      The discriminator of the active user
      java.lang.String getUserId()
      The userId for the active user
      java.lang.String getUsername()
      The username of the active user
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DiscordReady

        public DiscordReady​(java.lang.String userId,
                            java.lang.String username,
                            java.lang.String discriminator,
                            java.lang.String avatar)
    • Method Detail

      • getUserId

        public java.lang.String getUserId()
        The userId for the active user
      • getUsername

        public java.lang.String getUsername()
        The username of the active user
      • getDiscriminator

        public java.lang.String getDiscriminator()
        The discriminator of the active user
      • getAvatar

        public java.lang.String getAvatar()
        The avatar of the active user
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object