Class DiscordJoinRequest


  • public final class DiscordJoinRequest
    extends Object
    Called when another discord user wants to join the game of the logged in user
    • Constructor Detail

      • DiscordJoinRequest

        public DiscordJoinRequest​(String userId,
                                  String username,
                                  String discriminator,
                                  String avatar)
    • Method Detail

      • getUserId

        public String getUserId()
        The userId for the user that requests to join
      • getUsername

        public String getUsername()
        The username of the user that requests to join
      • getDiscriminator

        public String getDiscriminator()
        The discriminator of the user that requests to join
      • getAvatar

        public String getAvatar()
        The avatar of the user that requests to join
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object