DiscordLua
discorddiscord
v1.2.4
Install

GuildFeature

Enum
On this page

discord.GuildFeature lists the named constants for this enumeration. Prefer these names over hardcoded literals.

Values

discord.GuildFeature.AnimatedBanner
ANIMATED_BANNER
Animated Banner. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.AnimatedIcon
ANIMATED_ICON
Animated Icon. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.ApplicationCommandPermissionsV2
APPLICATION_COMMAND_PERMISSIONS_V2
Application Command Permissions V2. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.AutoModeration
AUTO_MODERATION
Auto Moderation. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.Community
COMMUNITY
Community. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.CreatorMonetizableProvisional
CREATOR_MONETIZABLE_PROVISIONAL
Creator Monetizable Provisional. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.CreatorStorePage
CREATOR_STORE_PAGE
Creator Store Page. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.DeveloperSupportServer
DEVELOPER_SUPPORT_SERVER
Developer Support Server. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.Discoverable
DISCOVERABLE
Discoverable. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.Featurable
FEATURABLE
Featurable. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.HasDirectoryEntry
HAS_DIRECTORY_ENTRY
Has Directory Entry. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.Hub
HUB
Hub. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.InvitesDisabled
INVITES_DISABLED
Invites Disabled. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.InviteSplash
INVITE_SPLASH
Invite Splash. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.LinkedToHub
LINKED_TO_HUB
Linked To Hub. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.MemberVerificationGateEnabled
MEMBER_VERIFICATION_GATE_ENABLED
Member Verification Gate Enabled. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.MoreSoundboard
MORE_SOUNDBOARD
More Soundboard. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.MonetizationEnabled
MONETIZATION_ENABLED
Monetization Enabled. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.MoreStickers
MORE_STICKERS
More Stickers. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.News
NEWS
News. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.Partnered
PARTNERED
Partnered. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.PreviewEnabled
PREVIEW_ENABLED
Preview Enabled. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.PrivateThreads
PRIVATE_THREADS
Private Threads. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.RaidAlertsDisabled
RAID_ALERTS_DISABLED
Raid Alerts Disabled. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.RelayEnabled
RELAY_ENABLED
Relay Enabled. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.RoleIcons
ROLE_ICONS
Role Icons. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.RoleSubscriptionsAvailableForPurchase
ROLE_SUBSCRIPTIONS_AVAILABLE_FOR_PURCHASE
Role Subscriptions Available For Purchase. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.RoleSubscriptionsEnabled
ROLE_SUBSCRIPTIONS_ENABLED
Role Subscriptions Enabled. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.Soundboard
SOUNDBOARD
Soundboard. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.TicketedEventsEnabled
TICKETED_EVENTS_ENABLED
Ticketed Events Enabled. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.VanityURL
VANITY_URL
Vanity URL. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.Verified
VERIFIED
Verified. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.VIPRegions
VIP_REGIONS
VIPRegions. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.WelcomeScreenEnabled
WELCOME_SCREEN_ENABLED
Welcome Screen Enabled. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.GuildTags
GUILD_TAGS
Guild Tags. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.EnhancedRoleColors
ENHANCED_ROLE_COLORS
Enhanced Role Colors. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.GuestsEnabled
GUESTS_ENABLED
Guests Enabled. Use the symbolic name in bot code rather than the raw value.
discord.GuildFeature.PinPermissionMigrationComplete
PIN_PERMISSION_MIGRATION_COMPLETE
Pin Permission Migration Complete. Use the symbolic name in bot code rather than the raw value.

Usage

Read members as discord.GuildFeature.Name. Do not hard-code numeric literals when a symbolic name exists.

Example

lua
local discord = require("discord")
print(discord.GuildFeature.AnimatedBanner)
Search Ctrl K Navigate Open Esc