All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.psnrigner.DiscordJoinRequest Maven / Gradle / Ivy

There is a newer version: 1.0.4
Show newest version
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