Skip to main content

GatewayIntents

@discordeno/bot


Documentation / @discordeno/bot / GatewayIntents

Enumeration: GatewayIntents

Defined in: packages/types/dist/types/shared.d.ts:845

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

Enumeration Members

AutoModerationConfiguration

AutoModerationConfiguration: 1048576

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

  • AUTO_MODERATION_RULE_CREATE
  • AUTO_MODERATION_RULE_UPDATE
  • AUTO_MODERATION_RULE_DELETE

AutoModerationExecution

AutoModerationExecution: 2097152

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

  • AUTO_MODERATION_ACTION_EXECUTION

DirectMessagePolls

DirectMessagePolls: 33554432

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

  • MESSAGE_POLL_VOTE_ADD
  • MESSAGE_POLL_VOTE_REMOVE

DirectMessageReactions

DirectMessageReactions: 8192

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

  • MESSAGE_REACTION_ADD
  • MESSAGE_REACTION_REMOVE
  • MESSAGE_REACTION_REMOVE_ALL
  • MESSAGE_REACTION_REMOVE_EMOJI

DirectMessages

DirectMessages: 4096

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

  • CHANNEL_CREATE
  • MESSAGE_CREATE
  • MESSAGE_UPDATE
  • MESSAGE_DELETE
  • CHANNEL_PINS_UPDATE

DirectMessageTyping

DirectMessageTyping: 16384

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

  • TYPING_START

GuildExpressions

GuildExpressions: 8

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

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

GuildIntegrations

GuildIntegrations: 16

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

  • GUILD_INTEGRATIONS_UPDATE
  • INTEGRATION_CREATE
  • INTEGRATION_UPDATE
  • INTEGRATION_DELETE

GuildInvites

GuildInvites: 64

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

  • INVITE_CREATE
  • INVITE_DELETE

GuildMembers

GuildMembers: 2

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

  • GUILD_MEMBER_ADD
  • GUILD_MEMBER_UPDATE
  • GUILD_MEMBER_REMOVE
  • THREAD_MEMBERS_UPDATE

This is a privileged intent.


GuildMessagePolls

GuildMessagePolls: 16777216

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

  • MESSAGE_POLL_VOTE_ADD
  • MESSAGE_POLL_VOTE_REMOVE

GuildMessageReactions

GuildMessageReactions: 1024

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

  • MESSAGE_REACTION_ADD
  • MESSAGE_REACTION_REMOVE
  • MESSAGE_REACTION_REMOVE_ALL
  • MESSAGE_REACTION_REMOVE_EMOJI

GuildMessages

GuildMessages: 512

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

  • 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.


GuildMessageTyping

GuildMessageTyping: 2048

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

  • TYPING_START

GuildModeration

GuildModeration: 4

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

  • GUILD_AUDIT_LOG_ENTRY_CREATE
  • GUILD_BAN_ADD
  • GUILD_BAN_REMOVE

GuildPresences

GuildPresences: 256

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

  • PRESENCE_UPDATE

This is a privileged intent.


Guilds

Guilds: 1

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

  • 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

GuildScheduledEvents

GuildScheduledEvents: 65536

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

  • 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.

GuildVoiceStates

GuildVoiceStates: 128

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

  • VOICE_STATE_UPDATE
  • VOICE_CHANNEL_EFFECT_SEND

GuildWebhooks

GuildWebhooks: 32

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

  • WEBHOOKS_UPDATE

MessageContent

MessageContent: 32768

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

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

This is a privileged intent.