intents#
Intents are bitwise value that are passed to the Discord API while creating a websocket connection to let the API know what events the connection is requesting for.
You can read more about intents in the Official documentation.
- final class wyvern.Intents(value: int)[source]#
Intents constructor to provide to the GatewayBot class.
- ALL = 3211259#
All intents.
- AUTO_MODERATION_CONFIGURATION = 1048576#
Required for these gateway events:
AUTO_MODERATION_RULE_CREATE
AUTO_MODERATION_RULE_UPDATE
AUTO_MODERATION_RULE_DELETE
- AUTO_MODERATION_EXECUTION = 2097152#
Required for these gateway events:
AUTO_MODERATION_ACTION_EXECUTION
- DIRECT_MESSAGES = 4096#
Required for these gateway events:
MESSAGE_CREATE
MESSAGE_UPDATE
MESSAGE_DELETE
CHANNEL_PINS_UPDATE
- DIRECT_MESSAGE_REACTIONS = 8192#
Required for these gateway events:
MESSAGE_REACTION_ADD
MESSAGE_REACTION_REMOVE
MESSAGE_REACTION_REMOVE_ALL
MESSAGE_REACTION_REMOVE_EMOJI
- DIRECT_MESSAGE_TYPING = 16384#
Required for these gateway events:
TYPING_START
- GUILDS = 1#
Required for these gateway events:
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
- GUILD_BANS = 4#
Required for these gateway events:
GUILD_BAN_ADD
GUILD_BAN_REMOVE
- GUILD_EMOJIS = 8#
Required for these gateway events:
GUILD_EMOJIS_UPDATE
GUILD_STICKERS_UPDATE
- GUILD_INTEGRATIONS = 16#
Required for these gateway events:
GUILD_INTEGRATIONS_UPDATE
INTEGRATION_CREATE
INTEGRATION_UPDATE
INTEGRATION_DELETE
- GUILD_INVITES = 64#
Required for these gateway events:
INVITE_CREATE
INVITE_DELETE
- GUILD_MEMBERS = 2#
Required for these gateway events:
GUILD_MEMBER_ADD
GUILD_MEMBER_UPDATE
GUILD_MEMBER_REMOVE
THREAD_MEMBERS_UPDATE
Warning
This is a privileged intent.
- GUILD_MESSAGES = 512#
Required for these gateway events:
MESSAGE_CREATE
MESSAGE_UPDATE
MESSAGE_DELETE
MESSAGE_DELETE_BULK
- GUILD_MESSAGE_REACTIONS = 1024#
Required for these gateway events:
MESSAGE_REACTION_ADD
MESSAGE_REACTION_REMOVE
MESSAGE_REACTION_REMOVE_ALL
MESSAGE_REACTION_REMOVE_EMOJI
- GUILD_MESSAGE_TYPING = 2048#
Required for these gateway events:
TYPING_START
- GUILD_PRESENCES = 256#
Required for these gateway events:
PRESENCE_UPDATE
Warning
This is a privileged intent.
- GUILD_SCHEDULED_EVENTS = 65536#
Required for these gateway events:
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 = 128#
Required for these gateway events:
VOICE_STATE_UPDATE
- GUILD_WEBHOOKS = 32#
Required for these gateway events:
WEBHOOKS_UPDATE
- MESSAGE_CONTENT = 32768#
Required for guild message’s content.
Warning
This is a privileged intent.
- NONE = 0#
No intents.
- PRIVILEGED = 33026#
All privileged intents.
- UNPRIVILEGED = 3178233#
All unprivileged intents.