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_CREATEAUTO_MODERATION_RULE_UPDATEAUTO_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_CREATEMESSAGE_UPDATEMESSAGE_DELETECHANNEL_PINS_UPDATE
- DIRECT_MESSAGE_REACTIONS = 8192#
Required for these gateway events:
MESSAGE_REACTION_ADDMESSAGE_REACTION_REMOVEMESSAGE_REACTION_REMOVE_ALLMESSAGE_REACTION_REMOVE_EMOJI
- DIRECT_MESSAGE_TYPING = 16384#
Required for these gateway events:
TYPING_START
- GUILDS = 1#
Required for these gateway events:
GUILD_CREATEGUILD_UPDATEGUILD_DELETEGUILD_ROLE_CREATEGUILD_ROLE_UPDATEGUILD_ROLE_DELETECHANNEL_CREATECHANNEL_UPDATECHANNEL_DELETECHANNEL_PINS_UPDATETHREAD_CREATETHREAD_UPDATETHREAD_DELETETHREAD_LIST_SYNCTHREAD_MEMBER_UPDATETHREAD_MEMBERS_UPDATESTAGE_INSTANCE_CREATESTAGE_INSTANCE_UPDATESTAGE_INSTANCE_DELETE
- GUILD_BANS = 4#
Required for these gateway events:
GUILD_BAN_ADDGUILD_BAN_REMOVE
- GUILD_EMOJIS = 8#
Required for these gateway events:
GUILD_EMOJIS_UPDATEGUILD_STICKERS_UPDATE
- GUILD_INTEGRATIONS = 16#
Required for these gateway events:
GUILD_INTEGRATIONS_UPDATEINTEGRATION_CREATEINTEGRATION_UPDATEINTEGRATION_DELETE
- GUILD_INVITES = 64#
Required for these gateway events:
INVITE_CREATEINVITE_DELETE
- GUILD_MEMBERS = 2#
Required for these gateway events:
GUILD_MEMBER_ADDGUILD_MEMBER_UPDATEGUILD_MEMBER_REMOVETHREAD_MEMBERS_UPDATE
Warning
This is a privileged intent.
- GUILD_MESSAGES = 512#
Required for these gateway events:
MESSAGE_CREATEMESSAGE_UPDATEMESSAGE_DELETEMESSAGE_DELETE_BULK
- GUILD_MESSAGE_REACTIONS = 1024#
Required for these gateway events:
MESSAGE_REACTION_ADDMESSAGE_REACTION_REMOVEMESSAGE_REACTION_REMOVE_ALLMESSAGE_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_CREATEGUILD_SCHEDULED_EVENT_UPDATEGUILD_SCHEDULED_EVENT_DELETEGUILD_SCHEDULED_EVENT_USER_ADDGUILD_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.