com.github.psnrigner.DiscordJoinRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of discord-rpc-java Show documentation
Show all versions of discord-rpc-java Show documentation
Java implementation of Discord RPC SDK
package com.github.psnrigner;
/**
* Discord join request
*/
public class DiscordJoinRequest
{
private final String userId;
private final String username;
private final String avatar;
DiscordJoinRequest(String userId, String username, String avatar)
{
this.userId = userId;
this.username = username;
this.avatar = avatar;
}
/**
* Get the id of the user requesting to join
*
* @return User id
*/
public String getUserId()
{
return this.userId;
}
/**
* Get the name of the user requesting to join
*
* @return Username
*/
public String getUsername()
{
return this.username;
}
/**
* Get the avatar of the user requesting to join
*
* @return Avatar
*/
public String getAvatar()
{
return this.avatar;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy