Enumerations¶
- class discord.enums.ApplicationCommandPermissionType[source]¶
- CHANNEL: int = 3¶
- ROLE: int = 1¶
- USER: int = 2¶
- class discord.enums.ApplicationEventWebhookStatus[source]¶
Status indicating whether event webhooks are enabled or disabled for an application
- DISABLED: int = 1¶
Webhook events are disabled by developer
- DISABLED_BY_DISCORD: int = 3¶
Webhook events are disabled by Discord, usually due to inactivity
- ENABLED: int = 2¶
Webhook events are enabled by developer
- class discord.flags.ApplicationFlag[source]¶
- APPLICATION_AUTO_MODERATION_RULE_CREATE_BADGE: int = 64¶
Indicates if an app uses the Auto Moderation API
- APPLICATION_COMMAND_BADGE: int = 8388608¶
Indicates if an app has registered global application commands
- EMBEDDED: int = 131072¶
Indicates if an app is embedded within the Discord client (currently unavailable publicly)
- GATEWAY_GUILD_MEMBERS: int = 16384¶
Intent requried for bots in 100 or more servers to receive member-related events like
guild_member_add
- GATEWAY_GUILD_MEMBERS_LIMITED: int = 32768¶
Intent required for bots in under 100 servers to receive member-related events like
guild_member_add, found on the Bot page in your app’s settings
- GATEWAY_MESSAGE_CONTENT: int = 262144¶
Intent required for bots in 100 or more servers to receive message content
- GATEWAY_MESSAGE_CONTENT_LIMITED: int = 524288¶
Intent required for bots in under 100 servers to receive message content, found on the Bot page in your app’s settings
- GATEWAY_PRESENCE: int = 4096¶
Intent required for bots in 100 or more servers to receive
presence_updateevents
- GATEWAY_PRESENCE_LIMITED: int = 8192¶
Intent required for bots in under 100 servers to receive
presence_updateevents, found on the Bot page in your app’s settings
- VERIFICATION_PENDING_GUILD_LIMIT: int = 65536¶
Indicates unusual growth of an app that prevents verification
- class discord.enums.ApplicationIntegrationType[source]¶
Where an app can be installed, also called its supported installation contexts.
- GUILD_INSTALL: str = '0'¶
App is installable to servers
- USER_INSTALL: str = '1'¶
App is installable to users
- class discord.enums.DefaultMessageNotificationLevel[source]¶
- ALL_MESSAGES: int = 0¶
Members will receive notifications for all messages by default
- ONLY_MENTIONS: int = 1¶
Members will receive notifications only for messages that @mention them by default
- class discord.enums.ExplicitContentFilterLevel[source]¶
- ALL_MEMBERS: int = 2¶
Media content sent by all members will be scanned
- DISABLED: int = 0¶
Media content will not be scanned
- MEMBERS_WITHOUT_ROLES: int = 1¶
Media content sent by members without roles will be scanned
- class discord.flags.GatewayIntent[source]¶
Represents a set of Gateway intents
- AUTO_MODERATION_CONFIGURATION: int = 1048576¶
AUTO_MODERATION_RULE_CREATE
AUTO_MODERATION_RULE_UPDATE
AUTO_MODERATION_RULE_DELETE
- AUTO_MODERATION_EXECUTION: int = 2097152¶
AUTO_MODERATION_ACTION_EXECUTION
- DIRECT_MESSAGES: int = 4096¶
MESSAGE_CREATE
MESSAGE_UPDATE
MESSAGE_DELETE
CHANNEL_PINS_UPDATE
- DIRECT_MESSAGE_POLLS: int = 33554432¶
MESSAGE_POLL_VOTE_ADD
MESSAGE_POLL_VOTE_REMOVE
- DIRECT_MESSAGE_REACTIONS: int = 8192¶
MESSAGE_REACTION_ADD
MESSAGE_REACTION_REMOVE
MESSAGE_REACTION_REMOVE_ALL
MESSAGE_REACTION_REMOVE_EMOJI
- DIRECT_MESSAGE_TYPING: int = 16384¶
TYPING_START
- GUILDS: int = 1¶
GUILD_CREATE
GUILD_UPDATE
GUILD_DELETE
GUILD_ROLE_CREATE
GUILD_ROLE_UPDATE
GUILD_ROLE_DELETE
CHANNEL_CREATE
CHANNEL_UPDATE
CHANNEL_DELETE
CHANNEL_PINS_UPDATE
THREAD_CREATE
THREAD_UPDATE
THREAD_DELETE
THREAD_LIST_SYNC
THREAD_MEMBER_UPDATE
THREAD_MEMBERS_UPDATE
STAGE_INSTANCE_CREATE
STAGE_INSTANCE_UPDATE
STAGE_INSTANCE_DELETE
VOICE_CHANNEL_STATUS_UPDATE
VOICE_CHANNEL_START_TIME_UPDATE
- GUILD_EXPRESSIONS: int = 8¶
GUILD_EMOJIS_UPDATE
GUILD_STICKERS_UPDATE
GUILD_SOUNDBOARD_SOUND_CREATE
GUILD_SOUNDBOARD_SOUND_UPDATE
GUILD_SOUNDBOARD_SOUND_DELETE
GUILD_SOUNDBOARD_SOUNDS_UPDATE
- GUILD_INTEGRATIONS: int = 16¶
GUILD_INTEGRATIONS_UPDATE
INTEGRATION_CREATE
INTEGRATION_UPDATE
INTEGRATION_DELETE
- GUILD_INVITES: int = 64¶
INVITE_CREATE
INVITE_DELETE
- GUILD_MEMBERS: int = 2¶
GUILD_MEMBER_ADD
GUILD_MEMBER_UPDATE
GUILD_MEMBER_REMOVE
THREAD_MEMBERS_UPDATE
- GUILD_MESSAGES: int = 512¶
MESSAGE_CREATE
MESSAGE_UPDATE
MESSAGE_DELETE
MESSAGE_DELETE_BULK
- GUILD_MESSAGE_POLLS: int = 16777216¶
MESSAGE_POLL_VOTE_ADD
MESSAGE_POLL_VOTE_REMOVE
- GUILD_MESSAGE_REACTIONS: int = 1024¶
MESSAGE_REACTION_ADD
MESSAGE_REACTION_REMOVE
MESSAGE_REACTION_REMOVE_ALL
MESSAGE_REACTION_REMOVE_EMOJI
- GUILD_MESSAGE_TYPING: int = 2048¶
TYPING_START
- GUILD_MODERATION: int = 4¶
GUILD_AUDIT_LOG_ENTRY_CREATE
GUILD_BAN_ADD
GUILD_BAN_REMOVE
- GUILD_PRESENCES: int = 256¶
PRESENCE_UPDATE
- GUILD_SCHEDULED_EVENTS: int = 65536¶
GUILD_SCHEDULED_EVENT_CREATE
GUILD_SCHEDULED_EVENT_UPDATE
GUILD_SCHEDULED_EVENT_DELETE
GUILD_SCHEDULED_EVENT_USER_ADD
GUILD_SCHEDULED_EVENT_USER_REMOVE
- GUILD_VOICE_STATES: int = 128¶
VOICE_CHANNEL_EFFECT_SEND
VOICE_STATE_UPDATE
- GUILD_WEBHOOKS: int = 32¶
WEBHOOKS_UPDATE
- MESSAGE_CONTENT: int = 32768¶
* Thread Members Update contains different data depending on which intents are used.
** Events under the GUILD_PRESENCES and GUILD_MEMBERS intents are turned off by default on all API versions. If you are using API v6, you will receive those events if you are authorized to receive them and have enabled the intents in the Developer Portal. You do not need to use intents on API v6 to receive these events; you just need to enable the flags. If you are using API v8 or above, intents are mandatory and must be specified when identifying.
*** MESSAGE_CONTENT does not represent individual events, but rather affects what data is present for events that could contain message content fields.
- class discord.enums.GuildAgeRestrictionLevel[source]¶
- AGE_RESTRICTED: int = 3¶
- DEFAULT: int = 0¶
- EXPLICIT: int = 1¶
- SAFE: int = 2¶
- class discord.enums.GuildFeature[source]¶
- ANIMATED_BANNER: str = 'ANIMATED_BANNER'¶
Guild has access to set an animated guild banner image
- ANIMATED_ICON: str = 'ANIMATED_ICON'¶
Guild has access to set an animated guild icon
- APPLICATION_COMMAND_PERMISSIONS_V2: str = 'APPLICATION_COMMAND_PERMISSIONS_V2'¶
Guild is using the old permissions configuration behavior
- AUTO_MODERATION: str = 'AUTO_MODERATION'¶
Guild has set up auto moderation rules
- BANNER: str = 'BANNER'¶
Guild has access to set a guild banner image
- COMMUNITY: str = 'COMMUNITY'¶
Guild can enable welcome screen, Membership Screening, stage channels and discovery, and receives community updates
- CREATOR_MONETIZABLE_PROVISIONAL: str = 'CREATOR_MONETIZABLE_PROVISIONAL'¶
Guild has enabled monetization
- CREATOR_STORE_PAGE: str = 'CREATOR_STORE_PAGE'¶
Guild has enabled the role subscription promo page
- DEVELOPER_SUPPORT_SERVER: str = 'DEVELOPER_SUPPORT_SERVER'¶
Guild has been set as a support server on the App Directory
- DISCOVERABLE: str = 'DISCOVERABLE'¶
Guild is able to be discovered in the directory
- ENHANCED_ROLE_COLORS: str = 'ENHANCED_ROLE_COLORS'¶
Guild is able to set gradient colors to roles
- FEATURABLE: str = 'FEATURABLE'¶
Guild is able to be featured in the directory
- GUESTS_ENABLED: str = 'GUESTS_ENABLED'¶
Guild has access to guest invites
- GUILD_TAGS: str = 'GUILD_TAGS'¶
Guild has access to set guild tags
- INVITES_DISABLED: str = 'INVITES_DISABLED'¶
Guild has paused invites, preventing new users from joining
- INVITE_SPLASH: str = 'INVITE_SPLASH'¶
Guild has access to set an invite splash background
- MEMBER_VERIFICATION_GATE_ENABLED: str = 'MEMBER_VERIFICATION_GATE_ENABLED'¶
Guild has enabled Membership Screening
- MORE_SOUNDBOARD: str = 'MORE_SOUNDBOARD'¶
Guild has increased custom soundboard sound slots
- MORE_STICKERS: str = 'MORE_STICKERS'¶
Guild has increased custom sticker slots
- NEWS: str = 'NEWS'¶
Guild has access to create announcement channels
- PARTNERED: str = 'PARTNERED'¶
Guild is partnered
- PREVIEW_ENABLED: str = 'PREVIEW_ENABLED'¶
Guild can be previewed before joining via Membership Screening or the directory
- RAID_ALERTS_DISABLED: str = 'RAID_ALERTS_DISABLED'¶
Guild has disabled alerts for join raids in the configured safety alerts channel
- ROLE_ICONS: str = 'ROLE_ICONS'¶
Guild is able to set role icons
- ROLE_SUBSCRIPTIONS_AVAILABLE_FOR_PURCHASE: str = 'ROLE_SUBSCRIPTIONS_AVAILABLE_FOR_PURCHASE'¶
Guild has role subscriptions that can be purchased
- ROLE_SUBSCRIPTIONS_ENABLED: str = 'ROLE_SUBSCRIPTIONS_ENABLED'¶
Guild has enabled role subscriptions
- SOUNDBOARD: str = 'SOUNDBOARD'¶
Guild has created soundboard sounds
- TICKETED_EVENTS_ENABLED: str = 'TICKETED_EVENTS_ENABLED'¶
Guild has enabled ticketed events
- VANITY_URL: str = 'VANITY_URL'¶
Guild has access to set a vanity URL
- VERIFIED: str = 'VERIFIED'¶
Guild is verified
- VIP_REGIONS: str = 'VIP_REGIONS'¶
Guild has access to set 384kbps bitrate in voice (previously VIP voice servers)
- WELCOME_SCREEN_ENABLED: str = 'WELCOME_SCREEN_ENABLED'¶
Guild has enabld the welcome screen
- class discord.enums.Locale[source]¶
- BULGARIAN: str = 'bg'¶
- CHINESE_CHINA: str = 'zh-CN'¶
- CHINESE_TAIWAN: str = 'zh-Tw'¶
- CROATIAN: str = 'hr'¶
- CZECH: str = 'cs'¶
- DANISH: str = 'da'¶
- DUTCH: str = 'nl'¶
- ENGLISH_UK: str = 'en-GB'¶
- ENGLISH_US: str = 'en-US'¶
- FINNISH: str = 'fi'¶
- FRENCH: str = 'fr'¶
- GERMAN: str = 'de'¶
- GREEK: str = 'el'¶
- HINDI: str = 'hi'¶
- HUNGARIAN: str = 'hu'¶
- INDONESIAN: str = 'id'¶
- ITALIAN: str = 'it'¶
- JAPANESE: str = 'ja'¶
- KOREAN: str = 'ko'¶
- LITHUANIAN: str = 'lt'¶
- NORWEGIAN: str = 'no'¶
- POLISH: str = 'pl'¶
- PORTUGUESE_BRAZILIAN: str = 'pt-BR'¶
- ROMANIAN_ROMANIA: str = 'ro'¶
- RUSSIAN: str = 'ru'¶
- SPANISH: str = 'es-ES'¶
- SPANISH_LATAM: str = 'es-419'¶
- SWEDISH: str = 'sv-SE'¶
- THAI: str = 'th'¶
- TURKISH: str = 'tr'¶
- UKRANIAN: str = 'uk'¶
- VIETNAMESE: str = 'vi'¶
- class discord.enums.MFALevel[source]¶
- ELEVATED: int = 1¶
Guild has 2FA requirements for moderation actions
- NONE: int = 0¶
Guild has no MFA/2FA requirements for moderation actions
- class discord.enums.NameplatePalette[source]¶
- BERRY: str = 'berry'¶
- BUBBLE_GUM: str = 'bubble_gum'¶
- CLOVER: str = 'clover'¶
- COBALT: str = 'cobalt'¶
- CRIMSON: str = 'crimson'¶
- FOREST: str = 'forest'¶
- LEMON: str = 'lemon'¶
- SKY: str = 'sky'¶
- TEAL: str = 'teal'¶
- VIOLET: str = 'violet'¶
- WHITE: str = 'white'¶
- class discord.enums.OpCode[source]¶
- DISPATCH: int = 0¶
An event was dispatched.
- HEARTBEAT: int = 1¶
Fired periodically by the client to keep the connection alive.
- HEARTBEAT_ACK: int = 11¶
Sent in response to receiving a heartbeat to acknowledge that it has been received.
- HELLO: int = 10¶
Sent immediately after connecting, contains the
heartbeat_intervalto use.
- IDENTIFY: int = 2¶
Starts a new session during the initial handshake.
- INVALID_SESSION: int = 9¶
The session has been invalidated. You should reconnect and identify/resume accordingly.
- PRESENCE_UPDATE: int = 3¶
Update the client’s presence.
- RECONNECT: int = 7¶
You should attempt to reconnect and resume immediately.
- REQUEST_CHANNEL_INFO: int = 43¶
Request ephemeral channel data for channels in a guild.
- REQUEST_GUILD_MEMBERS: int = 8¶
Request information about offline guild members in a large guild.
- REQUEST_SOUNDBOARD_SOUNDS: int = 31¶
Request information about soundboard sounds in a set of guilds.
- RESUME: int = 6¶
Resume a previous session that was disconnected.
- VOICE_STATE_UPDATE: int = 4¶
Used to join/leave or move between voice channels.
- class discord.flags.PermissionFlag(*values)[source]¶
Represents a set of permission flags
- ADD_REACTIONS: int = 64¶
Allows for adding new reactions to messages. This permission does not apply to reacting with an existing reaction on a message.
- ADMINISTRATOR: int = 8¶
Allows all permission and bypasses channel permission overwrites.
Attention
This permission requires the owner account to use two-factor authentication when used on a guild that has server-wide 2FA enabled.
- ATTACH_FILES: int = 32768¶
Allows for uploading images and files
- BAN_MEMBERS: int = 4¶
Allows banning members.
Attention
This permission requires the owner account to use two-factor authentication when used on a guild that has server-wide 2FA enabled.
- BYPASS_SLOWMODE: int = 4503599627370496¶
Allows bypassing slowmode restrictions
- CHANGE_NICKNAME: int = 67108864¶
Allows for modification of own nickname
- CONNECT: int = 1048576¶
Allows for joining of a voice channel
- CREATE_EVENTS: int = 17592186044416¶
Allows for creating scheduled events, and editing and deleting those created by the current user
- CREATE_GUILD_EXPRESSIONS: int = 8796093022208¶
Allows for creating emojis, stickers, and soundboard sounds, and editing and deleting those created by the current users
- CREATE_INSTANT_INVITE: int = 1¶
Allows creation of instant invites
- CREATE_PRIVATE_THREADS: int = 68719476736¶
Allows for creating private threads
- CREATE_PUBLIC_THREADS: int = 34359738368¶
Allows for creating public and announcement threads
- DEAFEN_MEMBERS: int = 8388608¶
Allows for deafening of members in a voice channel
- EMBED_LINKS: int = 16384¶
Links sent by users with this permission will be auto-embedded
- KICK_MEMBERS: int = 2¶
Allows kicking members.
Attention
This permission requires the owner account to use two-factor authentication when used on a guild that has server-wide 2FA enabled.
- MANAGE_CHANNELS: int = 16¶
Allows management and editing of channels.
Attention
This permission requires the owner account to use two-factor authentication when used on a guild that has server-wide 2FA enabled.
- MANAGE_EVENTS: int = 8589934592¶
Allows for editing and deleting scheduled events created by all users
- MANAGE_GUILD: int = 32¶
Allows management and editing of the guild.
Attention
This permission requires the owner account to use two-factor authentication when used on a guild that has server-wide 2FA enabled.
- MANAGE_GUILD_EXPRESSIONS: int = 1073741824¶
Allows for editing and deleting emojis, stickers, and soundboard sounds created by all users.
Attention
This permission requires the owner account to use two-factor authentication when used on a guild that has server-wide 2FA enabled.
- MANAGE_MESSAGES: int = 8192¶
Allows for deletion of other users messages.
Attention
This permission requires the owner account to use two-factor authentication when used on a guild that has server-wide 2FA enabled.
- MANAGE_NICKNAMES: int = 134217728¶
Allows for modification of other users nicknames
- MANAGE_ROLES: int = 268435456¶
Allows management and editing of roles.
Attention
This permission requires the owner account to use two-factor authentication when used on a guild that has server-wide 2FA enabled.
- MANAGE_THREADS: int = 17179869184¶
Allows for deleting and archiving threads, and viewing all private threads.
Attention
This permission requires the owner account to use two-factor authentication when used on a guild that has server-wide 2FA enabled.
- MANAGE_WEBHOOKS: int = 536870912¶
Allows management and editing of webhooks.
Attention
This permission requires the owner account to use two-factor authentication when used on a guild that has server-wide 2FA enabled.
- MENTION_EVERYONE: int = 131072¶
Allows for using the
@everyonetag to notify all users in a channel, and the@heretag to notify all online users in a channel
- MODERATE_MEMBERS: int = 1099511627776¶
Allows for timing out users to prevent them from sending or reacting to messages in chat and threads, and speaking in voice and stage channels
- MOVE_MEMBERS: int = 16777216¶
Allows for moving of members between voice channels
- MUTE_MEMBERS: int = 4194304¶
Allows for muting members in a voice channel
- PIN_MESSAGES: int = 2251799813685248¶
Allows pinning and unpinning messages
- PRIORITY_SPEAKER: int = 256¶
Allows for using priority speaker in a voice channel
- READ_MESSAGE_HISTORY: int = 65536¶
Allows for reading of message history
- REQUEST_TO_SPEAK: int = 4294967296¶
Allows for requesting to speak in stage channels
- SEND_MESSAGES: int = 2048¶
Allows for sending messages in a channel and creating threads in a forum (does not allow sending messages in threads)
- SEND_MESSAGES_IN_THREADS: int = 274877906944¶
Allows for sending messages in threads
- SEND_POLLS: int = 562949953421312¶
Allows sending polls
- SEND_TTS_MESSAGES: int = 4096¶
Allows for sending of
/ttsmessages
- SEND_VOICE_MESSAGES: int = 70368744177664¶
Allows sending voice messages
- SET_VOICE_CHANNEL_STATUS: int = 281474976710656¶
Allows setting voice channel status
- SPEAK: int = 2097152¶
Allows for speaking in a voice channel
- STREAM: int = 512¶
Allows the user to go live
- USE_APPLICATION_COMMANDS: int = 2147483648¶
Allows members to use application commands, including slash commands and context menu commands
- USE_EMBEDDED_ACTIVITIES: int = 549755813888¶
Allows for using Activities (applications with the
EMBEDDEDflag)
- USE_EXTERNAL_APPS: int = 1125899906842624¶
Allows user-installed apps to send public responses. When disabled, users will still be allowed to use their apps but the responses will be ephemeral. This only applies to apps not also installed to the server
- USE_EXTERNAL_EMOJIS: int = 262144¶
Allows the usage of custom emojis from other servers
- USE_EXTERNAL_SOUNDS: int = 35184372088832¶
Allows the usage of custom soundboard sounds from other servers
- USE_EXTERNAL_STICKERS: int = 137438953472¶
Allows the usage of custom stickers from other servers
- USE_SOUNDBOARD: int = 4398046511104¶
Allows for using sondboard in a voice channel
- USE_VAD: int = 33554432¶
Allows for using voice-activity-detection in a voice channel
- VIEW_AUDIT_LOG: int = 128¶
Allows for viewing of audit logs
- VIEW_CHANNEL: int = 1024¶
Allows guild members to view a channel, which includes reading messages in text channels and joining voice channels
- VIEW_CREATOR_MONETIZATION_ANALYTICS: int = 2199023255552¶
Allows for viewing role subscription insights.
Attention
This permission requires the owner account to use two-factor authentication when used on a guild that has server-wide 2FA enabled.
- VIEW_GUILD_INSIGHTS: int = 524288¶
Allows for viewing guild insights
- class discord.enums.PremiumTier[source]¶
- NONE: int = 0¶
Guild has not unlocked any Server Boost perks
- TIER_1: int = 1¶
Guild has unlocked Server Boost level 1 perks
- TIER_2: int = 2¶
Guild has unlocked Server Boost level 2 perks
- TIER_3: int = 3¶
Guild has unlocked Server Boost level 3 perks
- class discord.enums.PremiumType[source]¶
Premium types denote the level of premium a user has.
- NITRO: int = 2¶
- NITRO_BASIC: int = 3¶
- NITRO_CLASSIC: int = 1¶
- NONE: int = 0¶
- class discord.flags.RoleFlag[source]¶
- IN_PROMPT: int = 1¶
Role can be selected by members in an onboarding prompt
- class discord.enums.StickerFormatType[source]¶
- APNG: int = 2¶
- GIF: int = 4¶
- LOTTIE: int = 3¶
- PNG: int = 1¶
- class discord.enums.StickerType[source]¶
- GUILD: int = 2¶
A sticker uplaoded to a guild for the guild’s members
- STANDARD: int = 1¶
An official sticker in a pack
- class discord.flags.SystemChannelFlag[source]¶
- SUPPRESS_GUILD_REMINDER_NOTIFICATIONS: int = 4¶
Suppress server setup tips
- SUPPRESS_JOIN_NOTIFICATIONS: int = 1¶
Suppress member join notifications
- SUPPRESS_JOIN_NOTIFICATION_REPLIES: int = 8¶
Hide member join sticker reply buttons
- SUPPRESS_PREMIUM_SUBSCRIPTIONS: int = 2¶
Suppress server boost notifications
- SUPPRESS_ROLE_SUBSCRIPTION_PURCHASE_NOTIFICATIONS: int = 16¶
Suppress role subscription purchase and renewal notifications
- SUPPRESS_ROLE_SUBSCRIPTION_PURCHASE_NOTIFICATION_REPLIES: int = 32¶
Hide role subscription sticker reply buttons
- class discord.enums.TeamMemberRole[source]¶
- ADMIN: str = 'admin'¶
Admins have similar access as owners, except they cannot take destructive actions on the team or team-owned apps.
- DEVELOPER: str = 'developer'¶
Developers can access information about team-owned apps, like the client secret or public key. They can also take limited actions on team-owned apps, like configuring interaction endpoints or resetting the bot token. Members with the
DEVELOPERrole cannot manage the team or its members, or take destructive actions on team-owned apps.
- OWNER: str = ''¶
Owners are the most permissible role, and can take destructive, irreversible actions like deleting team-owned apps or the team itself. Teams are limited to 1 owner.
- READ_ONLY: str = 'read_only'¶
Read-only members can access information about a team and any team-owned apps. Some examples including getting the IDs of applications and exporting payout records. Members can also invite bots associated with team-owned apps that are marked private.
- class discord.flags.UserFlag[source]¶
- BOT_HTTP_INTERACTIONS: int = 524288¶
Bot uses only HTTP interactions and is shown in the online member list
- BUG_HUNTER_LEVEL_1: int = 8¶
Bug Hunter Level 1
- BUG_HUNTER_LEVEL_2: int = 16384¶
Bug Hunter Level 2
- CERTIFIED_MODERATOR: int = 262144¶
Moderator Programs Alumni
- HYPESQUAD: int = 4¶
HypeSquad Events Member
- HYPESQUAD_ONLINE_HOUSE_1: int = 64¶
House Bravery Member
- HYPESQUAD_ONLINE_HOUSE_2: int = 128¶
House Brilliance Member
- HYPESQUAD_ONLINE_HOUSE_3: int = 256¶
House Balance Member
- PARTNER: int = 2¶
Partnered Server Owner
- PREMIUM_EARLY_SUPPORTER: int = 512¶
Early Nitro Supporter
- STAFF: int = 1¶
Discord Employee
- TEAM_PSEUDO_USER: int = 1024¶
User is a team
- VERIFIED_BOT: int = 65536¶
Verified Bot
- VERIFIED_DEVELOPER: int = 131072¶
Early Verified Bot Developer
- class discord.enums.VerificationLevel[source]¶
- HIGH: int = 3¶
Must be a member of the server for longer than 10 minutes
- LOW: int = 1¶
Must have verified email on account
- MEDIUM: int = 2¶
Must be registered on Discord for longer than 5 minutes
- NONE: int = 0¶
Unrestricted
- VERY_HIGH: int = 4¶
Must have a verified phone number
- class discord.enums.WebhookEventType[source]¶
- APPLICATION_AUTHORIZED: str = 'APPLICATION_AUTHORIZED'¶
Sent when an app was authorized by a user to a server or their account
- APPLICATION_DEAUTHORIZED: str = 'APPLICATION_DEAUTHORIZED'¶
Sent when an app was deauthorized by a user
- ENTITLEMENT_CREATE: str = 'ENTITLEMENT_CREATE'¶
Entitlement was created
- ENTITLEMENT_DELETE: str = 'ENTITLEMENT_DELETE'¶
Entitlement was deleted
- ENTITLEMENT_UPDATE: str = 'ENTITLEMENT_UPDATE'¶
Entitlement was updated
- GAME_DIRECT_MESSAGE_CREATE: str = 'GAME_DIRECT_MESSAGE_CREATE'¶
Sent when a direct message is created during an active Social SDK session
- GAME_DIRECT_MESSAGE_DELETE: str = 'GAME_DIRECT_MESSAGE_DELETE'¶
Sent when a direct message is deleted during an active Social SDK session
- GAME_DIRECT_MESSAGE_UPDATE: str = 'GAME_DIRECT_MESSAGE_UPDATE'¶
Sent when a direct message is updated during an active Social SDK session
- LOBBY_MESSAGE_CREATE: str = 'LOBBY_MESSAGE_CREATE'¶
Sent when a message is created in a lobby
- LOBBY_MESSAGE_DELETE: str = 'LOBBY_MESSAGE_DELETE'¶
Sent when a message is deleted in a lobby
- LOBBY_MESSAGE_UPDATE: str = 'LOBBY_MESSAGE_UPDATE'¶
Sent when a message is updated in a lobby
- QUEST_USER_ENROLLMENT: str = 'QUEST_USER_ENROLLMENT'¶
User was added to a Quest (currently unavailable)