Skip to content

Enum

Discord enumerations.


PublicUserFlag

A dictionary of public user flags. Offical docs reference

Enum Type Description
Staff number The user is an offical Discord staff member.
Partner number The user is a partnered server owner.
Hypesquad number The user is a hypesquad events member.
BugHunterLevelOne number The user is a level 1 bug hunter.
BugHunterLevelTwo number The user is a level 2 bug hunter.
HouseOfBraveryMember number The user is a house of bravery member.
HouseOfBrillianceMember number The user is a house of brilliance member.
HouseOfBalanceMember number The user is a house of balance member.
PremiumEarlySupporter number The user is an early nitro supporter.
VerifiedBot number The user is a verified bot.
VerifiedDeveloper number The user is an early verified bot developer.
CertifiedModerator number The user is apart of the Discord moderator program.
ActiveDeveloper number The user is an active bot developer.




MessageFlag

A dictionary of message flags. Offical docs reference

Enum Type Description
SuppressEmbeds number Suppresses all embeds on a message.
SuppressNotifications number Suppresses push and desktop notifications.




ImageFormat

A dictionary of strings that represent different image formats. Offical docs reference

Enum Type Description
Jpeg string Represents a jpeg file.
Png string Represents a png file.
Gif string Represents a gif file.
WebP string Represents a webp file.
Lottie string Represents a json file.




RatelimitScope

A dictionary of strings that contain scopes you can be ratelimited from. Offical docs reference

Enum Type Description
User string You have been directly ratelimited.
Shared string The resource is being ratelimited.
Global string You have been directly ratelimited.