Package com.aliucord.wrappers
Class GuildWrapper
-
- All Implemented Interfaces:
public final class GuildWrapper
Wraps the obfuscated Guild 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
GuildWrapper.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Long
afkChannelId
private final Integer
afkTimeout
private final Integer
approximatePresenceCount
private final String
banner
private final List<Channel>
channelUpdates
private final List<Channel>
channels
private final Integer
defaultMessageNotifications
private final String
description
private final List<GuildEmoji>
emojis
private final GuildExplicitContentFilter
explicitContentFilter
private final List<GuildFeature>
features
private final GuildHashes
guildHashes
private final List<GuildScheduledEvent>
scheduledEvents
private final String
icon
private final Long
id
private final String
joinedAt
private final GuildMaxVideoChannelUsers
maxVideoChannelUsers
private final Integer
approxMemberCount
private final List<GuildMember>
cachedMembers
private final Integer
mfaLevel
private final String
name
private final Boolean
nsfw
private final Long
ownerId
private final String
preferredLocale
private final Integer
premiumSubscriptionCount
private final Integer
premiumTier
private final List<Presence>
presences
private final Long
publicUpdatesChannelId
private final String
region
private final List<GuildRole>
roles
private final Long
rulesChannelId
private final String
splash
private final List<Sticker>
stickers
private final Integer
systemChannelFlags
private final Long
systemChannelId
private final List<Channel>
threads
private final Boolean
unavailable
private final String
vanityUrlCode
private final GuildVerificationLevel
verificationLevel
public final static GuildWrapper.Companion
Companion
-
Constructor Summary
Constructors Constructor Description GuildWrapper(Guild guild)
-
Method Summary
-
-
Method Detail
-
getAfkChannelId
final Long getAfkChannelId()
-
getAfkTimeout
final Integer getAfkTimeout()
-
getApproximatePresenceCount
final Integer getApproximatePresenceCount()
-
getChannelUpdates
final List<Channel> getChannelUpdates()
-
getChannels
final List<Channel> getChannels()
-
getDefaultMessageNotifications
final Integer getDefaultMessageNotifications()
-
getDescription
final String getDescription()
-
getExplicitContentFilter
final GuildExplicitContentFilter getExplicitContentFilter()
-
getFeatures
final List<GuildFeature> getFeatures()
-
getGuildHashes
final GuildHashes getGuildHashes()
-
getScheduledEvents
final List<GuildScheduledEvent> getScheduledEvents()
-
getJoinedAt
final String getJoinedAt()
-
getMaxVideoChannelUsers
final GuildMaxVideoChannelUsers getMaxVideoChannelUsers()
-
getApproxMemberCount
final Integer getApproxMemberCount()
-
getCachedMembers
final List<GuildMember> getCachedMembers()
-
getMfaLevel
final Integer getMfaLevel()
-
getOwnerId
final Long getOwnerId()
-
getPreferredLocale
final String getPreferredLocale()
-
getPremiumSubscriptionCount
final Integer getPremiumSubscriptionCount()
-
getPremiumTier
final Integer getPremiumTier()
-
getPresences
final List<Presence> getPresences()
-
getPublicUpdatesChannelId
final Long getPublicUpdatesChannelId()
-
getRulesChannelId
final Long getRulesChannelId()
-
getStickers
final List<Sticker> getStickers()
-
getSystemChannelFlags
final Integer getSystemChannelFlags()
-
getSystemChannelId
final Long getSystemChannelId()
-
getThreads
final List<Channel> getThreads()
-
isUnavailable
final Boolean isUnavailable()
-
getVanityUrlCode
final String getVanityUrlCode()
-
getVerificationLevel
final GuildVerificationLevel getVerificationLevel()
-
raw
final Guild raw()
Returns the raw (obfuscated) Guild Object associated with this wrapper
-
-
-
-