io.github.kawaxte.presence.DiscordUser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of discord-rpc Show documentation
Show all versions of discord-rpc Show documentation
Java Wrapper for the (now deprecated) Discord Rich Presence API.
The newest version!
package io.github.kawaxte.presence;
import com.sun.jna.Structure;
import com.sun.jna.Structure.FieldOrder;
/**
* The {@code DiscordUser} class represents a Discord user.
*
* @author Kawaxte
* @see Structure
*/
@FieldOrder({"userId", "username", "discriminator", "avatar"})
public class DiscordUser extends Structure {
public String userId;
public String username;
public String discriminator;
public String avatar;
}