public interface User
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAvatarId()
The Discord Id for this user's avatar image.
|
java.lang.String |
getAvatarUrl()
The URL for the for the user's avatar image.
|
java.lang.String |
getCurrentGame()
The name of the game that the user is currently playing.
|
java.lang.String |
getDiscriminator()
The descriminator of the
User . |
java.lang.String |
getId()
The Discord ID of the
User . |
JDA |
getJDA()
Returns the
JDA instance of this User |
OnlineStatus |
getOnlineStatus()
|
PrivateChannel |
getPrivateChannel()
Gets the
PrivateChannel of this
User for use in sending direct messages. |
java.lang.String |
getUsername()
The username of the
User . |
java.lang.String getId()
User
. This is typically 18 characters long.User
id.java.lang.String getUsername()
User
. Length is between 2 and 32 characters (inclusive).User
username.java.lang.String getDiscriminator()
User
. Used to differentiate between users with the same usernames.User
discriminator.java.lang.String getAvatarId()
User
avatar id.java.lang.String getAvatarUrl()
User
avatar url.java.lang.String getCurrentGame()
User
is currently playing.OnlineStatus getOnlineStatus()
OnlineStatus
of the User
.PrivateChannel getPrivateChannel()
PrivateChannel
of this
User
for use in sending direct messages.PrivateChannel
that is associated with this User
.