Package com.aliucord.wrappers
Class GuildMemberWrapper
-
- All Implemented Interfaces:
public final class GuildMemberWrapper
Wraps the obfuscated GuildMember class to provide nice method names and require only one central update if method names change after an update
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
GuildMemberWrapper.Companion
-
Field Summary
Fields Modifier and Type Field Description private final String
avatar
private final String
banner
private final String
bio
private final UtcDateTime
guildId
private final UtcDateTime
joinedAt
private final String
nick
private final Boolean
isPending
private final String
premiumSince
private final Presence
presence
private final List<Long>
roles
private final User
user
private final Long
userId
public final static GuildMemberWrapper.Companion
Companion
-
Constructor Summary
Constructors Constructor Description GuildMemberWrapper(GuildMember guildMember)
-
Method Summary
Modifier and Type Method Description final String
getAvatar()
final String
getBanner()
final String
getBio()
final UtcDateTime
getGuildId()
final UtcDateTime
getJoinedAt()
final String
getNick()
final Boolean
isPending()
final String
getPremiumSince()
final Presence
getPresence()
final List<Long>
getRoles()
final User
getUser()
final Long
getUserId()
final GuildMember
raw()
Returns the raw (obfuscated) GuildMember Object associated with this wrapper -
-
Method Detail
-
getGuildId
final UtcDateTime getGuildId()
-
getJoinedAt
final UtcDateTime getJoinedAt()
-
getPremiumSince
final String getPremiumSince()
-
getPresence
final Presence getPresence()
-
getUser
final User getUser()
-
raw
final GuildMember raw()
Returns the raw (obfuscated) GuildMember Object associated with this wrapper
-
-
-
-