Constants
typedef · Source
Constants that can be used in an enum or object-like way. Type: Object
Properties
ActivityTypes
The type of an activity of a users presence.
APIErrors
An error encountered while performing an API request.
ApplicationCommandOptionTypes
The type of an ApplicationCommandOption object.
ApplicationCommandPermissionTypes
The type of an ApplicationCommandPermissions object.
ApplicationCommandTypes
The type of an ApplicationCommand object.
ApplicationRoleConnectionMetadataTypes
The type of an ApplicationRoleConnectionMetadata object.
AutoModerationActionTypes
A type of an action which executes whenever a rule is triggered.
AutoModerationRuleEventTypes
Indicates in what event context a rule should be checked.
AutoModerationRuleKeywordPresetTypes
The internally pre-defined wordsetswhich will be searched for in content
AutoModerationRuleTriggerTypes
Characterizes the type of content which can trigger the rule.
ChannelTypes
All available channel types.
ChromiumMajorVersion
Chromium major version used by User-Agent Client Hints.
ChromiumVersion
Chromium version used by the default HTTP browser profile.
ClientApplicationAssetTypes
The types of an ApplicationAsset object.
Colors
An object with regularly used colors.
DefaultMessageNotificationLevels
The value set for a guilds default message notifications.
Endpoints
Object containing functions that return certain endpoints on the API.
Events
The types of events emitted by the Client.
ExplicitContentFilterLevels
The value set for the explicit content filter levels for a guild.
GuildScheduledEventEntityTypes
The entity type of a GuildScheduledEvent object.
GuildScheduledEventPrivacyLevels
Privacy level of a GuildScheduledEvent object.
GuildScheduledEventStatuses
The status of a GuildScheduledEvent object.
IntegrationExpireBehaviors
The behavior of expiring subscribers for Integrations.
InteractionResponseTypes
The type of an interaction response.
InteractionTypes
The type of an Interaction object.
InviteScopes
The scopes of an invite.
RelationshipTypes
Relationship Enums
SeparatorSpacingSize
Size of separator padding (Enums)
MembershipStates
The value set for a team members membership state.
MessageButtonStyles
The style of a message button.
MessageComponentTypes
The type of a message component.
MessageTypes
The type of a Message object.
MFALevels
The required MFA level for a guild.
NSFWLevels
NSFW level of a guild.
Opcodes
The types of Opcodes sent to the Gateway.
OverwriteTypes
An overwrite type.
Package
The package.json of the library.
PartialTypes
The type of Structure allowed to be a partial.
PremiumTiers
The premium tier (Server Boost level) of a guild.
PrivacyLevels
Privacy level of a StageInstance object.
ShardEvents
The type of events emitted by a Shard.
Status
The available statuses of the client.
SelectMenuComponentTypes
The type of any select menu.
StickerFormatTypes
The value set for a stickers format type.
StickerTypes
The value set for a stickers type.
SweeperKeys
The name of an item to be swept in Sweepers.
SystemMessageTypes
The types of messages that are System.
TextInputStyles
The style of a text input component.
ThreadChannelTypes
The type of a ThreadChannel object.
UserAgent
The user agent used for requests.
VerificationLevels
The value set for the verification levels for a guild.
VideoQualityModes
The camera video quality mode for a VoiceChannel.
WebhookTypes
The value set for a webhooks type.
WSCodes
The types of WebSocket error codes.
WSEvents
The type of a WebSocket message event.
HolographicStyles
Holographic color values for role styling.