discord-is.fun
Datamining

Client enums

The constants the web client ships with: permission bits, channel and message types, gateway opcodes, error codes and more. They're read from every new build, so new, removed and renumbered members show up as they land, and anything the API docs don't list is marked.

Build 669021 38 enums 1,163 members 246 not in docs RSS
Type
Permissions Permission bits for roles and channel overwrites bit flags 53 1 Already here
ChannelTypes Channel type numbers numeric 20 7 Already here
ChannelFlags Bits in channel.flags bit flags 20 15 Already here
MessageTypes Message type numbers, system messages included numeric 68 31 Already here
MessageFlags Bits in message.flags bit flags 19 6 Already here
AttachmentFlags Bits in attachment.flags bit flags 9 · Already here
UserFlags Bits in user.flags and public_flags bit flags 22 9 Already here
GuildMemberFlags Bits in guild member flags bit flags 11 · Already here
RelationshipTypes Friend, block and pending request states numeric 7 · Already here
ActivityTypes Presence activity types numeric 7 · Already here
ActivityFlags Bits in activity.flags bit flags 10 · Already here
ApplicationFlags Bits in application.flags bit flags 22 14 Already here
GatewayOpcodes Gateway opcodes the client sends and handles numeric 32 19 Already here
GatewayDispatchEvents Gateway dispatch events the client has a handler for string 201 · Already here
AuditLogActionTypes Audit log action type numbers numeric 81 10 Already here
InteractionTypes Interaction type numbers numeric 12 7 Already here
InteractionContextTypes Where an interaction can be used numeric 3 · Already here
ApplicationCommandTypes Slash, user and message command types numeric 4 · Already here
ApplicationCommandOptionTypes Command option types numeric 11 · Already here
ComponentTypes Message and modal component types numeric 23 3 Already here
ButtonStyles Button style numbers numeric 6 0 Already here
StickerFormat Sticker format types numeric 4 · Already here
VerificationLevels Guild verification levels numeric 5 · Already here
ExplicitContentFilterLevels Guild explicit media filter levels numeric 3 · Already here
GuildNSFWLevels Guild NSFW levels numeric 4 · Already here
InviteTargetTypes What an invite points at besides the channel numeric 5 · Already here
GuildScheduledEventEntityTypes Where a scheduled event takes place numeric 5 · Already here
GuildScheduledEventStatus Scheduled event states numeric 4 · Already here
AutoModerationTriggerTypes AutoMod rule trigger types numeric 8 · Already here
AutoModerationActionTypes What an AutoMod rule does when it fires numeric 4 · Already here
SKUTypes Store SKU types numeric 6 · Already here
SKUFlags Bits in sku.flags, masks included bit flags 16 · Already here
EntitlementTypes How an entitlement was granted numeric 17 · Already here
JSONErrorCodes REST API error codes the client knows by name numeric 215 124 Already here
RPCCommands Commands the local RPC server accepts string 132 · Already here
RPCEvents Events an RPC client can subscribe to string 51 · Already here
RPCErrors Error codes in RPC responses numeric 34 · Already here
RPCCloseCodes Close codes for RPC sockets numeric 9 · Already here

Each enum is located by a few members it's known to have, then read whole from that one object in current.js, so a member renamed or dropped elsewhere in the bundle can't leak in. Lazy-loaded chunks aren't scanned. Enum names are ours; members and values are verbatim. "Already here" means nothing has changed since tracking started. "Not in docs" compares values with the reference tables, and only for enums that have one. Read Nov 9, 16:51 UTC.

↑ ↓ navigate↵ open> commands/ focus filter

Appearance

Theme

Accent colour

Font

Density

Corners

Motion

Sidebar

Keyboard shortcuts

CtrlK
Search everything
>
In search: run a command (theme, density, copy URL…)
/
Filter the current list
W
Watch the current page
JK
Older, newer build (Shift: with notes)
[
Collapse or expand the sidebar
,
Appearance
?
Keyboard shortcuts
Esc
Close

Press G and then a letter to jump straight to a page

Overview

D
Dashboard
A
Activity
J
This week
Z
Daily digests
N
News
W
Watchlist
U
Status

Client

B
Builds
X
Compare builds
S
Strings
L
Client flags
M
Mobile builds
I
Release stats

Experiments & rollouts

E
Experiments
R
Rollouts

Developer API

C
API changelog
H
OpenAPI changes
Y
Endpoints
Q
Upcoming
P
API routes

Platform

V
Versions
K
Stickers
G
Games

Data & tools

T
Tools
F
Reference
O
Feeds & data

Keyboard shortcuts

CtrlK
Search everything
>
In search: run a command (theme, density, copy URL…)
/
Filter the current list
W
Watch the current page
JK
Older, newer build (Shift: with notes)
[
Collapse or expand the sidebar
,
Appearance
?
Keyboard shortcuts
Esc
Close

Press G and then a letter to jump straight to a page

Overview

D
Dashboard
A
Activity
J
This week
Z
Daily digests
N
News
W
Watchlist
U
Status

Client

B
Builds
X
Compare builds
S
Strings
L
Client flags
M
Mobile builds
I
Release stats

Experiments & rollouts

E
Experiments
R
Rollouts

Developer API

C
API changelog
H
OpenAPI changes
Y
Endpoints
Q
Upcoming
P
API routes

Platform

V
Versions
K
Stickers
G
Games

Data & tools

T
Tools
F
Reference
O
Feeds & data