Skip to main content

GatewayIntents

@discordeno/botDocs


Documentation / @discordeno/bot / GatewayIntents

Enumeration: GatewayIntents

https://discord.com/developers/docs/topics/gateway#list-of-intents

Enumeration Members

AutoModerationConfiguration

AutoModerationConfiguration: 1048576

  • AUTO_MODERATION_RULE_CREATE
  • AUTO_MODERATION_RULE_UPDATE
  • AUTO_MODERATION_RULE_DELETE

Defined in

packages/types/dist/types/shared.d.ts:977


AutoModerationExecution

AutoModerationExecution: 2097152

  • AUTO_MODERATION_ACTION_EXECUTION

Defined in

packages/types/dist/types/shared.d.ts:981


DirectMessagePolls

DirectMessagePolls: 33554432

  • MESSAGE_POLL_VOTE_ADD
  • MESSAGE_POLL_VOTE_REMOVE

Defined in

packages/types/dist/types/shared.d.ts:991


DirectMessageReactions

DirectMessageReactions: 8192

  • MESSAGE_REACTION_ADD
  • MESSAGE_REACTION_REMOVE
  • MESSAGE_REACTION_REMOVE_ALL
  • MESSAGE_REACTION_REMOVE_EMOJI

Defined in

packages/types/dist/types/shared.d.ts:953


DirectMessages

DirectMessages: 4096

  • CHANNEL_CREATE
  • MESSAGE_CREATE
  • MESSAGE_UPDATE
  • MESSAGE_DELETE
  • CHANNEL_PINS_UPDATE

Defined in

packages/types/dist/types/shared.d.ts:946


DirectMessageTyping

DirectMessageTyping: 16384

  • TYPING_START

Defined in

packages/types/dist/types/shared.d.ts:957


GuildExpressions

GuildExpressions: 8

  • GUILD_EMOJIS_UPDATE
  • GUILD_STICKERS_UPDATE
  • GUILD_SOUNDBOARD_SOUND_CREATE
  • GUILD_SOUNDBOARD_SOUND_UPDATE
  • GUILD_SOUNDBOARD_SOUND_DELETE
  • GUILD_SOUNDBOARD_SOUNDS_UPDATE

Defined in

packages/types/dist/types/shared.d.ts:891


GuildIntegrations

GuildIntegrations: 16

  • GUILD_INTEGRATIONS_UPDATE
  • INTEGRATION_CREATE
  • INTEGRATION_UPDATE
  • INTEGRATION_DELETE

Defined in

packages/types/dist/types/shared.d.ts:898


GuildInvites

GuildInvites: 64

  • INVITE_CREATE
  • INVITE_DELETE

Defined in

packages/types/dist/types/shared.d.ts:907


GuildMembers

GuildMembers: 2

  • GUILD_MEMBER_ADD
  • GUILD_MEMBER_UPDATE
  • GUILD_MEMBER_REMOVE
  • THREAD_MEMBERS_UPDATE

This is a privileged intent.

Defined in

packages/types/dist/types/shared.d.ts:876


GuildMessagePolls

GuildMessagePolls: 16777216

  • MESSAGE_POLL_VOTE_ADD
  • MESSAGE_POLL_VOTE_REMOVE

Defined in

packages/types/dist/types/shared.d.ts:986


GuildMessageReactions

GuildMessageReactions: 1024

  • MESSAGE_REACTION_ADD
  • MESSAGE_REACTION_REMOVE
  • MESSAGE_REACTION_REMOVE_ALL
  • MESSAGE_REACTION_REMOVE_EMOJI

Defined in

packages/types/dist/types/shared.d.ts:934


GuildMessages

GuildMessages: 512

  • MESSAGE_CREATE
  • MESSAGE_UPDATE
  • MESSAGE_DELETE
  • MESSAGE_DELETE_BULK

The messages do not contain content by default. If you want to receive their content too, you need to turn on the privileged MESSAGE_CONTENT intent.

Defined in

packages/types/dist/types/shared.d.ts:927


GuildMessageTyping

GuildMessageTyping: 2048

  • TYPING_START

Defined in

packages/types/dist/types/shared.d.ts:938


GuildModeration

GuildModeration: 4

  • GUILD_AUDIT_LOG_ENTRY_CREATE
  • GUILD_BAN_ADD
  • GUILD_BAN_REMOVE

Defined in

packages/types/dist/types/shared.d.ts:882


GuildPresences

GuildPresences: 256

  • PRESENCE_UPDATE

This is a privileged intent.

Defined in

packages/types/dist/types/shared.d.ts:918


Guilds

Guilds: 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

Defined in

packages/types/dist/types/shared.d.ts:867


GuildScheduledEvents

GuildScheduledEvents: 65536

  • GUILD_SCHEDULED_EVENT_CREATE
  • GUILD_SCHEDULED_EVENT_UPDATE
  • GUILD_SCHEDULED_EVENT_DELETE
  • GUILD_SCHEDULED_EVENT_USER_ADD this is experimental and unstable.
  • GUILD_SCHEDULED_EVENT_USER_REMOVE this is experimental and unstable.

Defined in

packages/types/dist/types/shared.d.ts:971


GuildVoiceStates

GuildVoiceStates: 128

  • VOICE_STATE_UPDATE
  • VOICE_CHANNEL_EFFECT_SEND

Defined in

packages/types/dist/types/shared.d.ts:912


GuildWebhooks

GuildWebhooks: 32

  • WEBHOOKS_UPDATE

Defined in

packages/types/dist/types/shared.d.ts:902


MessageContent

MessageContent: 32768

This intent will add all content related values to message events.

This is a privileged intent.

Defined in

packages/types/dist/types/shared.d.ts:963