Skip to content

Intents

Important

For unverified bots, privileged intents can only be used if your bot is in less than 100 guilds! Otherwise, your bot needs to be verified to use these intents.


intents

Intents

Bases: DiscordFlags


              flowchart TD
              scurrypy.intents.Intents[Intents]
              scurrypy.enums.enum_types.DiscordFlags[DiscordFlags]

                              scurrypy.enums.enum_types.DiscordFlags --> scurrypy.intents.Intents
                


              click scurrypy.intents.Intents href "" "scurrypy.intents.Intents"
              click scurrypy.enums.enum_types.DiscordFlags href "" "scurrypy.enums.enum_types.DiscordFlags"
            

Gateway intent flags (bitwise).

For an exhaustive list what intents let your bot listen to what events, see the list of intents.

Note

Not all intents are listed. Intents not listed are not yet supported.

GUILDS = 1 << 0 class-attribute instance-attribute

Receive events related to guilds.

GUILD_MEMBERS = 1 << 1 class-attribute instance-attribute

Receive events related to guild members.

Privileged Intent

Requires the app setting Server Members Intent to be toggled.

GUILD_MODERATION = 1 << 2 class-attribute instance-attribute

Receive events related to guild moderation.

GUILD_EXPRESSIONS = 1 << 3 class-attribute instance-attribute

Receive events related to custom emojis and stickers.

GUILD_INTEGRATIONS = 1 << 4 class-attribute instance-attribute

Receive events related to integrations within a guild.

GUILD_WEBHOOKS = 1 << 5 class-attribute instance-attribute

Receive events related to webhooks.

GUILD_INVITES = 1 << 6 class-attribute instance-attribute

Receive events related to creating guild invites.

GUILD_MESSAGES = 1 << 9 class-attribute instance-attribute

Receive events about messages within a guild.

GUILD_MESSAGE_REACTIONS = 1 << 10 class-attribute instance-attribute

Track changes in reactions on messages.

DIRECT_MESSAGES = 1 << 12 class-attribute instance-attribute

Receive events related to DMs.

DIRECT_MESSAGE_REACTIONS = 1 << 13 class-attribute instance-attribute

Receive events related to DM reactions.

MESSAGE_CONTENT = 1 << 15 class-attribute instance-attribute

Access content of messages.

Privileged Intent

Requires the app setting Message Content Intent to be toggled.

DEFAULT = GUILDS | GUILD_MESSAGES class-attribute instance-attribute