Table of Contents

Enum DiscordIntents

Namespace
DisCatSharp.Enums
Assembly
DisCatSharp.dll

Represents gateway intents to be specified for connecting to Discord.

[Flags]
public enum DiscordIntents
Extension Methods

Fields

Guilds = 1

Whether to include general guild events. Note that you may receive empty message contents if you don't have the message content intent.

These include GuildCreated, GuildDeleted, GuildAvailable, GuildDownloadCompleted,

GuildRoleCreated, GuildRoleUpdated, GuildRoleDeleted,

ChannelCreated, ChannelUpdated, ChannelDeleted, ChannelPinsUpdated,

StageInstanceCreated, StageInstanceUpdated, StageInstanceDeleted,

ThreadCreated, ThreadUpdated, ThreadDeleted,

ThreadListSynced, ThreadMemberUpdated and ThreadMembersUpdated.

GuildMembers = 2

Whether to include guild member events.

These include GuildMemberAdded, GuildMemberUpdated, GuildMemberRemoved and ThreadMembersUpdated.

This is a privileged intent, and must be enabled on the bot's developer page.

GuildModeration = 4

Whether to include guild ban events.

These include GuildBanAdded, GuildBanRemoved and GuildAuditLogEntryCreated.

GuildEmojisAndStickers = 8

Whether to include guild emoji and sticker events.

This includes GuildEmojisUpdated and GuildStickersUpdated.

GuildIntegrations = 16

Whether to include guild integration events.

This includes GuildIntegrationsUpdated.

GuildWebhooks = 32

Whether to include guild webhook events.

This includes WebhooksUpdated.

GuildInvites = 64

Whether to include guild invite events.

These include InviteCreated and InviteDeleted.

GuildVoiceStates = 128

Whether to include guild voice state events.

This includes VoiceStateUpdated.

GuildPresences = 256

Whether to include guild presence events.

This includes PresenceUpdated.

This is a privileged intent, and must be enabled on the bot's developer page.

GuildMessages = 512

Whether to include guild message events. Note that you may receive empty contents if you don't have the message content intent. You can enable it in the developer portal. If you have a verified bot, you might need to apply for the intent.

These include MessageCreated, MessageUpdated, and MessageDeleted.

GuildMessageReactions = 1024

Whether to include guild reaction events.

These include MessageReactionAdded, MessageReactionRemoved, MessageReactionsCleared

and MessageReactionRemovedEmoji.

GuildMessageTyping = 2048

Whether to include guild typing events.

These include TypingStarted.

DirectMessages = 4096

Whether to include general direct message events.

These include ChannelCreated, MessageCreated, MessageUpdated,

MessageDeleted and ChannelPinsUpdated.

These events only fire for DM channels.

DirectMessageReactions = 8192

Whether to include direct message reaction events.

These include MessageReactionAdded, MessageReactionRemoved,

MessageReactionsCleared and MessageReactionRemovedEmoji.

These events only fire for DM channels.

DirectMessageTyping = 16384

Whether to include direct message typing events.

This includes TypingStarted.

This event only fires for DM channels.

MessageContent = 32768

Whether to include the content of guild messages. See https://support-dev.discord.com/hc/en-us/articles/4404772028055 for more information.

GuildScheduledEvents = 65536

Whether to include guild scheduled event events.

These include GuildScheduledEventCreated, GuildScheduledEventUpdated, GuildScheduledEventDeleted,

GuildScheduledEventUserAdded and GuildScheduledEventUserRemoved.

AutoModerationConfiguration = 1048576

Whether to include automod configuration events.

These include AutomodRuleCreated, AutomodRuleUpdated and AutomodRuleDeleted.

AutoModerationExecution = 2097152

Whether to include automod execution events.

These includes AutomodActionExecuted.

GuildMessagePolls = 16777216

Whether to include guild poll vote events.

These include MessagePollVoteAdded and MessagePollVoteRemoved.

DirectMessagePolls = 33554432

Whether to include direct message poll vote events.

These include MessagePollVoteAdded and MessagePollVoteRemoved.

AllUnprivileged = Guilds | GuildModeration | GuildEmojisAndStickers | GuildIntegrations | GuildWebhooks | GuildInvites | GuildVoiceStates | GuildMessages | GuildMessageReactions | GuildMessageTyping | DirectMessages | DirectMessageReactions | DirectMessageTyping | GuildScheduledEvents | AutoModerationConfiguration | AutoModerationExecution | GuildMessagePolls | DirectMessagePolls

Includes all unprivileged intents.

These are all intents excluding GuildMembers, GuildPresences and MessageContent.

All = MessageContent | AllV9Less

Includes all intents.

The GuildMembers, GuildPresences and MessageContent intents are privileged, and must be enabled on the bot's developer page.

AllV9Less = GuildMembers | GuildPresences | AllUnprivileged

Includes all intents.

The GuildMembers and GuildPresences intents are privileged, and must be enabled on the bot's developer page.

The MessageContent exist only in v10 and is not included here.