java.util.Formattable, IMentionable, ISnowflakepublic static class WidgetUtil.Widget.Member extends java.lang.Object implements ISnowflake, IMentionable
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object obj) |
|
java.lang.String |
getAsMention() |
Retrieve a Mention for this Entity.
|
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.
|
long |
getIdLong() |
The Snowflake id of this entity.
|
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() |
formatTogetCreationTime, getIdpublic boolean isBot()
public java.lang.String getName()
public long getIdLong()
ISnowflakegetIdLong in interface ISnowflakepublic java.lang.String getAsMention()
IMentionableRole (@everyone), this will return the literal string "@everyone".getAsMention in interface IMentionablepublic 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.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object