public static class WidgetUtil.Widget.Member extends java.lang.Object implements ISnowflake, IMentionable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAsMention()
Gets the member as a mention
|
java.lang.String |
getAvatarId()
Gets the avatar hash of the member, or null if they do not have
an avatar set.
|
java.lang.String |
getAvatarUrl()
Gets the avatar url of the member, or null if they do not have
an avatar set.
|
java.lang.String |
getDefaultAvatarId()
Gets the asset id of the member's default avatar
|
java.lang.String |
getDefaultAvatarUrl()
Gets the url of the member's default avatar
|
java.lang.String |
getDiscriminator()
Gets the discriminator of the member
|
java.lang.String |
getEffectiveAvatarUrl()
The URL for the user's avatar image
If they do not have an avatar set, this will return the URL of their
default avatar
|
java.lang.String |
getEffectiveName()
Gets the visible name of the member.
|
Game |
getGame()
The game that the member is currently playing.
|
java.lang.String |
getId()
Gets the ID of the member
|
java.lang.String |
getName()
Returns the username of the member
|
java.lang.String |
getNickname()
Gets the nickname of the member.
|
OnlineStatus |
getOnlineStatus()
Gets the online status of the member.
|
WidgetUtil.Widget.VoiceState |
getVoiceState()
The current voice state of the member.
|
WidgetUtil.Widget |
getWidget()
Gets the widget that to which this member belongs
|
int |
hashCode() |
boolean |
isBot()
Returns whether or not the given member is a bot account
|
java.lang.String |
toString() |
getCreationTime
public boolean isBot()
public java.lang.String getName()
public java.lang.String getId()
getId
in interface ISnowflake
public java.lang.String getAsMention()
getAsMention
in interface IMentionable
public java.lang.String getDiscriminator()
public java.lang.String getAvatarId()
public java.lang.String getAvatarUrl()
public java.lang.String getDefaultAvatarId()
public java.lang.String getDefaultAvatarUrl()
public java.lang.String getEffectiveAvatarUrl()
public java.lang.String getNickname()
public java.lang.String getEffectiveName()
public OnlineStatus getOnlineStatus()
OnlineStatus
of the memberpublic Game getGame()
Game
containing the game that the member is currently playing.public WidgetUtil.Widget.VoiceState getVoiceState()
public WidgetUtil.Widget getWidget()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object