Table of Contents

Enum GatewayIntents

Namespace
Discord
Assembly
Discord.Net.Core.dll
[Flags]
public enum GatewayIntents

Fields

All = GuildMembers | GuildPresences | MessageContent | AllUnprivileged

This intent includes all of them, including privileged ones.

AllUnprivileged = Guilds | GuildBans | GuildEmojis | GuildIntegrations | GuildWebhooks | GuildInvites | GuildVoiceStates | GuildMessages | GuildMessageReactions | GuildMessageTyping | DirectMessages | DirectMessageReactions | DirectMessageTyping | GuildScheduledEvents | AutoModerationConfiguration | AutoModerationActionExecution | GuildMessagePolls | DirectMessagePolls

This intent includes all but GuildMembers, GuildPresences and MessageContent which are privileged and must be enabled in the Developer Portal.

AutoModerationActionExecution = 2097152

This intent includes AUTO_MODERATION_ACTION_EXECUTION

AutoModerationConfiguration = 1048576

This intent includes AUTO_MODERATION_RULE_CREATE, AUTO_MODERATION_RULE_UPDATE, AUTO_MODERATION_RULE_DELETE

DirectMessagePolls = 33554432

This intent includes MESSAGE_POLL_VOTE_ADD and MESSAGE_POLL_VOTE_REMOVE

DirectMessageReactions = 8192

This intent includes MESSAGE_REACTION_ADD, MESSAGE_REACTION_REMOVE, MESSAGE_REACTION_REMOVE_ALL, MESSAGE_REACTION_REMOVE_EMOJI

DirectMessageTyping = 16384

This intent includes TYPING_START

DirectMessages = 4096

This intent includes CHANNEL_CREATE, MESSAGE_CREATE, MESSAGE_UPDATE, MESSAGE_DELETE, CHANNEL_PINS_UPDATE

GuildBans = 4

This intent includes GUILD_BAN_ADD, GUILD_BAN_REMOVE

GuildEmojis = 8

This intent includes GUILD_EMOJIS_UPDATE

GuildIntegrations = 16

This intent includes GUILD_INTEGRATIONS_UPDATE

GuildInvites = 64

This intent includes INVITE_CREATE, INVITE_DELETE

GuildMembers = 2

This intent includes GUILD_MEMBER_ADD, GUILD_MEMBER_UPDATE, GUILD_MEMBER_REMOVE

GuildMessagePolls = 16777216

This intent includes MESSAGE_POLL_VOTE_ADD and MESSAGE_POLL_VOTE_REMOVE

GuildMessageReactions = 1024

This intent includes MESSAGE_REACTION_ADD, MESSAGE_REACTION_REMOVE, MESSAGE_REACTION_REMOVE_ALL, MESSAGE_REACTION_REMOVE_EMOJI

GuildMessageTyping = 2048

This intent includes TYPING_START

GuildMessages = 512

This intent includes MESSAGE_CREATE, MESSAGE_UPDATE, MESSAGE_DELETE, MESSAGE_DELETE_BULK

GuildPresences = 256

This intent includes PRESENCE_UPDATE

GuildScheduledEvents = 65536

This intent includes GUILD_SCHEDULED_EVENT_CREATE, GUILD_SCHEDULED_EVENT_UPDATE, GUILD_SCHEDULED_EVENT_DELETE, GUILD_SCHEDULED_EVENT_USER_ADD, GUILD_SCHEDULED_EVENT_USER_REMOVE

GuildVoiceStates = 128

This intent includes VOICE_STATE_UPDATE

GuildWebhooks = 32

This intent includes WEBHOOKS_UPDATE

Guilds = 1

This intent includes GUILD_CREATE, GUILD_UPDATE, GUILD_DELETE, GUILD_ROLE_CREATE, GUILD_ROLE_UPDATE, GUILD_ROLE_DELETE, CHANNEL_CREATE, CHANNEL_UPDATE, CHANNEL_DELETE, CHANNEL_PINS_UPDATE

MessageContent = 32768

This intent defines if the content within messages received by MESSAGE_CREATE is available or not. This is a privileged intent and needs to be enabled in the developer portal.

None = 0

This intent includes no events