Package com.mewna.catnip.entity.guild
Enum Class GuildFeature
- All Implemented Interfaces:
Serializable
,Comparable<GuildFeature>
,Constable
- Since:
- 8/19/19.
- Author:
- amy
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionNeedsTIER_3
NeedsTIER_3
See https://github.com/Discord-Datamining/Discord-Datamining/commit/4c6e7180e67fa439c0a550afe016d418c21146b9Needs developer application license bound to guildDeprecated.NeedsTIER_1
Deprecated.Deprecated.This is a part of membership screening, see https://github.com/discord/discord-api-docs/pull/2396 NeedsCOMMUNITY
Deprecated.Guild uses new thread permissions (temporary flag)Needs developer application license on account, bound to guild orCOMMUNITY
This seems to have reappeared, see https://github.com/DJScias/Discord-Datamining/commit/2ee04565f207b3abf303f2e242a093165728d8d8
This is a part of membership screening, see https://github.com/discord/discord-api-docs/pull/2396NeedsTIER_2
Deprecated.See https://github.com/discord/discord-api-docs/pull/2038.Guild has enabled role subscriptionsNeedsTIER_2
Feature Flag for lib test guilds (temporary flag)NeedsTIER_1
NeedsMONETIZATION_ENABLED
and valid payout informations on developer teamWhen no other feature matches.NeedsCOMMUNITY
-
Method Summary
Modifier and TypeMethodDescriptionstatic GuildFeature
unknownValueOf
(Catnip catnip, String value) static GuildFeature
Returns the enum constant of this class with the specified name.static GuildFeature[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INVITE_SPLASH
NeedsTIER_1
-
VIP_REGIONS
-
VANITY_URL
-
VERIFIED
-
PARTNERED
-
LURKABLE
Deprecated.Replaced byDISCOVERABLE
-
COMMERCE
Needs developer application license bound to guild -
NEWS
Needs developer application license on account, bound to guild orCOMMUNITY
-
DISCOVERABLE
-
FEATURABLE
Deprecated. -
ANIMATED_ICON
-
BANNER
-
PUBLIC
Deprecated.Replaced byCOMMUNITY
. See https://github.com/discord/discord-api-docs/pull/1763 -
MEMBER_LIST_DISABLED
Deprecated.See https://github.com/mewna/catnip/issues/392 -
PUBLIC_DISABLED
-
WELCOME_SCREEN_ENABLED
NeedsCOMMUNITY
-
ENABLED_DISCOVERABLE_BEFORE
-
COMMUNITY
-
RELAY_ENABLED
See https://github.com/discord/discord-api-docs/pull/2038. The vast majority of guilds shouldn't have this feature. -
MEMBER_VERIFICATION_GATE_ENABLED
This is a part of membership screening, see https://github.com/discord/discord-api-docs/pull/2396 NeedsCOMMUNITY
-
PREVIEW_ENABLED
This seems to have reappeared, see https://github.com/DJScias/Discord-Datamining/commit/2ee04565f207b3abf303f2e242a093165728d8d8
This is a part of membership screening, see https://github.com/discord/discord-api-docs/pull/2396 -
TICKETED_EVENTS_ENABLED
NeedsMONETIZATION_ENABLED
and valid payout informations on developer team -
MONETIZATION_ENABLED
Deprecated.See https://github.com/Discord-Datamining/Discord-Datamining/commit/927edd4a616f0ca487a9dc49ea8975a8abf1674b#commitcomment-66577069 -
MORE_STICKERS
-
THREE_DAY_THREAD_ARCHIVE
NeedsTIER_1
-
SEVEN_DAY_THREAD_ARCHIVE
NeedsTIER_2
-
PRIVATE_THREADS
NeedsTIER_2
-
THREADS_ENABLED_TESTING
Feature Flag for lib test guilds (temporary flag) -
THREADS_ENABLED
-
ROLE_ICONS
-
NEW_THREAD_PERMISSIONS
Guild uses new thread permissions (temporary flag) -
ROLE_SUBSCRIPTIONS_ENABLED
Guild has enabled role subscriptions -
ANIMATED_BANNER
NeedsTIER_3
-
MEMBER_PROFILES
-
TEXT_IN_VOICE_ENABLED
-
PREMIUM_TIER_3_OVERRIDE
-
CHANNEL_BANNER
NeedsTIER_3
See https://github.com/Discord-Datamining/Discord-Datamining/commit/4c6e7180e67fa439c0a550afe016d418c21146b9 -
UNKNOWN_FEATURE
When no other feature matches.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
unknownValueOf
-