Table of Contents

Class GatewayEvent

Namespace
NetCord.Hosting.Gateway
Assembly
NetCord.Hosting.dll
public class GatewayEvent
Inheritance
GatewayEvent
Inherited Members

Properties

ApplicationCommandPermissionsUpdate

Sent when an application command's permissions are updated. The inner payload is an ApplicationCommandPermission object.

public static GatewayEvent<ApplicationCommandPermission> ApplicationCommandPermissionsUpdate { get; }

Property Value

GatewayEvent<ApplicationCommandPermission>

Remarks

Required Intents: None
Optional Intents: None

AutoModerationActionExecution

Sent when a rule is triggered and an action is executed (e.g. when a message is blocked).

public static GatewayEvent<AutoModerationActionExecutionEventArgs> AutoModerationActionExecution { get; }

Property Value

GatewayEvent<AutoModerationActionExecutionEventArgs>

Remarks


Required Intents: AutoModerationExecution
Optional Intents:

AutoModerationRuleCreate

Sent when a rule is created. The inner payload is an AutoModerationRule object.

public static GatewayEvent<AutoModerationRule> AutoModerationRuleCreate { get; }

Property Value

GatewayEvent<AutoModerationRule>

Remarks


Required Intents: AutoModerationConfiguration
Optional Intents: None

AutoModerationRuleDelete

Sent when a rule is deleted. The inner payload is an AutoModerationRule object.

public static GatewayEvent<AutoModerationRule> AutoModerationRuleDelete { get; }

Property Value

GatewayEvent<AutoModerationRule>

Remarks


Required Intents: AutoModerationConfiguration
Optional Intents: None

AutoModerationRuleUpdate

Sent when a rule is updated. The inner payload is an AutoModerationRule object.

public static GatewayEvent<AutoModerationRule> AutoModerationRuleUpdate { get; }

Property Value

GatewayEvent<AutoModerationRule>

Remarks


Required Intents: AutoModerationConfiguration
Optional Intents: None

ChannelPinsUpdate

Sent when a message is pinned or unpinned in a text channel. This is not sent when a pinned message is deleted.

public static GatewayEvent<ChannelPinsUpdateEventArgs> ChannelPinsUpdate { get; }

Property Value

GatewayEvent<ChannelPinsUpdateEventArgs>

Remarks


Required Intents: Guilds, DirectMessages
Optional Intents: None

Close

public static GatewayEvent Close { get; }

Property Value

GatewayEvent

Connect

public static GatewayEvent Connect { get; }

Property Value

GatewayEvent

Connecting

public static GatewayEvent Connecting { get; }

Property Value

GatewayEvent

CurrentUserUpdate

Sent when properties about the current bot's user change. Inner payload is a CurrentUser object.

public static GatewayEvent<CurrentUser> CurrentUserUpdate { get; }

Property Value

GatewayEvent<CurrentUser>

Remarks


Required Intents: None
Optional Intents: None

Disconnect

public static GatewayEvent<DisconnectEventArgs> Disconnect { get; }

Property Value

GatewayEvent<DisconnectEventArgs>

EntitlementCreate

Sent when an entitlement is created. The inner payload is an Entitlement object.

public static GatewayEvent<Entitlement> EntitlementCreate { get; }

Property Value

GatewayEvent<Entitlement>

Remarks


Required Intents: None
Optional Intents: None

EntitlementDelete

Sent when an entitlement is deleted. Entitlements are not deleted when they expire. The inner payload is an Entitlement object.

public static GatewayEvent<Entitlement> EntitlementDelete { get; }

Property Value

GatewayEvent<Entitlement>

Remarks


Required Intents: None
Optional Intents: None

EntitlementUpdate

Sent when an entitlement is updated. When an entitlement for a subscription is renewed, the EndsAt field may have an updated value with the new expiration date. The inner payload is an Entitlement object.

public static GatewayEvent<Entitlement> EntitlementUpdate { get; }

Property Value

GatewayEvent<Entitlement>

Remarks


Required Intents: None
Optional Intents: None

GuildAuditLogEntryCreate

Sent when a guild audit log entry is created. The inner payload is an AuditLogEntry object. This event is only sent to bots with the ViewAuditLog permission.

public static GatewayEvent<AuditLogEntry> GuildAuditLogEntryCreate { get; }

Property Value

GatewayEvent<AuditLogEntry>

Remarks


Required Intents: GuildModeration
Optional Intents: None

GuildBanAdd

Sent when a user is banned from a guild.

public static GatewayEvent<GuildBanEventArgs> GuildBanAdd { get; }

Property Value

GatewayEvent<GuildBanEventArgs>

Remarks


Required Intents: GuildModeration
Optional Intents: None

GuildBanRemove

Sent when a user is unbanned from a guild.

public static GatewayEvent<GuildBanEventArgs> GuildBanRemove { get; }

Property Value

GatewayEvent<GuildBanEventArgs>

Remarks


Required Intents: GuildModeration
Optional Intents: None

GuildChannelCreate

Sent when a new guild channel is created, relevant to the bot. The inner payload is an IGuildChannel object.

public static GatewayEvent<IGuildChannel> GuildChannelCreate { get; }

Property Value

GatewayEvent<IGuildChannel>

Remarks


Required Intents: Guilds
Optional Intents: None

GuildChannelDelete

Sent when a channel relevant to the bot is deleted. The inner payload is an IGuildChannel object.

public static GatewayEvent<IGuildChannel> GuildChannelDelete { get; }

Property Value

GatewayEvent<IGuildChannel>

Remarks


Required Intents: Guilds
Optional Intents: None

GuildChannelUpdate

Sent when a channel is updated. This is not sent with new messages, those are tracked by MessageCreate and GuildThreadCreate. This event may reference roles or guild members that no longer exist in the guild. The inner payload is an IGuildChannel object.

public static GatewayEvent<IGuildChannel> GuildChannelUpdate { get; }

Property Value

GatewayEvent<IGuildChannel>

Remarks


Required Intents: Guilds
Optional Intents: None

GuildCreate

This event can be sent in three different scenarios (During an outage, the Guild object in scenarios 1 and 3 may be marked as unavailable):

  • To lazily load and backfill information for all unavailable guilds sent in the Ready event. Guilds unavailable due to an outage will send a GuildDelete event.
  • When a guild becomes available again to the client.
  • When the current user joins a new guild.
public static GatewayEvent<GuildCreateEventArgs> GuildCreate { get; }

Property Value

GatewayEvent<GuildCreateEventArgs>

Remarks

The inner payload can be a Guild object with extra fields, or an unavailable Guild object. If the guild has over 75k users, users and presences returned in this event will only contain your bot and users in voice channels.

Required Intents: Guilds
Optional Intents:

  • GuildPresences For receiving users and presences other than the bot's user and users in voice channels (Same as the 75k limit).

GuildDelete

Sent when a guild becomes or was already unavailable due to an outage, or when the bot leaves / is removed from a guild.

public static GatewayEvent<GuildDeleteEventArgs> GuildDelete { get; }

Property Value

GatewayEvent<GuildDeleteEventArgs>

Remarks

The inner payload is an unavailable guild object. If the IsUnavailable property is false, the bot was removed from the guild.

Required Intents: Guilds
Optional Intents: None

GuildEmojisUpdate

Sent when a guild's emojis have been updated.

public static GatewayEvent<GuildEmojisUpdateEventArgs> GuildEmojisUpdate { get; }

Property Value

GatewayEvent<GuildEmojisUpdateEventArgs>

Remarks


Required Intents: GuildEmojisAndStickers
Optional Intents: None

GuildIntegrationCreate

Sent when an integration is created. The inner payload is an integration object with a set GuildId.

public static GatewayEvent<GuildIntegrationEventArgs> GuildIntegrationCreate { get; }

Property Value

GatewayEvent<GuildIntegrationEventArgs>

Remarks


Required Intents: GuildIntegrations
Optional Intents: None

GuildIntegrationDelete

Sent when an integration is deleted.

public static GatewayEvent<GuildIntegrationDeleteEventArgs> GuildIntegrationDelete { get; }

Property Value

GatewayEvent<GuildIntegrationDeleteEventArgs>

Remarks


Required Intents: GuildIntegrations
Optional Intents: None

GuildIntegrationUpdate

Sent when an integration is updated. The inner payload is an integration object with a set GuildId.

public static GatewayEvent<GuildIntegrationEventArgs> GuildIntegrationUpdate { get; }

Property Value

GatewayEvent<GuildIntegrationEventArgs>

Remarks


Required Intents: GuildIntegrations
Optional Intents: None

GuildIntegrationsUpdate

Sent when guild integrations are updated.

public static GatewayEvent<GuildIntegrationsUpdateEventArgs> GuildIntegrationsUpdate { get; }

Property Value

GatewayEvent<GuildIntegrationsUpdateEventArgs>

Remarks


Required Intents: GuildIntegrations
Optional Intents: None

GuildJoinRequestDelete

Not documented by Discord.

public static GatewayEvent<GuildJoinRequestDeleteEventArgs> GuildJoinRequestDelete { get; }

Property Value

GatewayEvent<GuildJoinRequestDeleteEventArgs>

GuildJoinRequestUpdate

Not documented by Discord.

public static GatewayEvent<GuildJoinRequestUpdateEventArgs> GuildJoinRequestUpdate { get; }

Property Value

GatewayEvent<GuildJoinRequestUpdateEventArgs>

GuildScheduledEventCreate

Sent when a guild scheduled event is created. The inner payload is a GuildScheduledEvent object.

public static GatewayEvent<GuildScheduledEvent> GuildScheduledEventCreate { get; }

Property Value

GatewayEvent<GuildScheduledEvent>

Remarks


Required Intents: GuildScheduledEvents
Optional Intents: None

GuildScheduledEventDelete

Sent when a guild scheduled event is deleted. The inner payload is a GuildScheduledEvent object.

public static GatewayEvent<GuildScheduledEvent> GuildScheduledEventDelete { get; }

Property Value

GatewayEvent<GuildScheduledEvent>

Remarks


Required Intents: GuildScheduledEvents
Optional Intents: None

GuildScheduledEventUpdate

Sent when a guild scheduled event is updated. The inner payload is a GuildScheduledEvent object.

public static GatewayEvent<GuildScheduledEvent> GuildScheduledEventUpdate { get; }

Property Value

GatewayEvent<GuildScheduledEvent>

Remarks


Required Intents: GuildScheduledEvents
Optional Intents: None

GuildScheduledEventUserAdd

Sent when a user has subscribed to a guild scheduled event.

public static GatewayEvent<GuildScheduledEventUserEventArgs> GuildScheduledEventUserAdd { get; }

Property Value

GatewayEvent<GuildScheduledEventUserEventArgs>

Remarks


Required Intents: GuildScheduledEvents
Optional Intents: None

GuildScheduledEventUserRemove

Sent when a user has unsubscribed from a guild scheduled event.

public static GatewayEvent<GuildScheduledEventUserEventArgs> GuildScheduledEventUserRemove { get; }

Property Value

GatewayEvent<GuildScheduledEventUserEventArgs>

Remarks


Required Intents: GuildScheduledEvents
Optional Intents: None

GuildStickersUpdate

Sent when a guild's stickers have been updated.

public static GatewayEvent<GuildStickersUpdateEventArgs> GuildStickersUpdate { get; }

Property Value

GatewayEvent<GuildStickersUpdateEventArgs>

Remarks


Required Intents: GuildEmojisAndStickers
Optional Intents: None

GuildThreadCreate

Sent when a thread is created, relevant to the bot, or when the current user is added to a thread. The inner payload is an IGuildChannel object.

public static GatewayEvent<GuildThreadCreateEventArgs> GuildThreadCreate { get; }

Property Value

GatewayEvent<GuildThreadCreateEventArgs>

Remarks


Required Intents: Guilds
Optional Intents: None

GuildThreadDelete

Sent when a thread relevant to the bot is deleted. The inner payload is a subset of an IGuildChannel object.

public static GatewayEvent<GuildThreadDeleteEventArgs> GuildThreadDelete { get; }

Property Value

GatewayEvent<GuildThreadDeleteEventArgs>

Remarks


Required Intents: Guilds
Optional Intents: None

GuildThreadListSync

Sent when the current user gains access to a channel.

public static GatewayEvent<GuildThreadListSyncEventArgs> GuildThreadListSync { get; }

Property Value

GatewayEvent<GuildThreadListSyncEventArgs>

Remarks


Required Intents: Guilds
Optional Intents: None

GuildThreadUpdate

Sent when a thread is updated. This is not sent with new messages, those are tracked by MessageCreate. The inner payload is an IGuildChannel object.

public static GatewayEvent<GuildThread> GuildThreadUpdate { get; }

Property Value

GatewayEvent<GuildThread>

Remarks


Required Intents: Guilds
Optional Intents: None

GuildThreadUserUpdate

Sent when the GuildThreadUser object for the bot is updated. This event is largely just a signal that you are a member of the thread. The inner payload is a GuildThreadUserUpdateEventArgs object with a set GuildId.

public static GatewayEvent<GuildThreadUserUpdateEventArgs> GuildThreadUserUpdate { get; }

Property Value

GatewayEvent<GuildThreadUserUpdateEventArgs>

Remarks


Required Intents: Guilds
Optional Intents: None

GuildThreadUsersUpdate

Sent when anyone is added to or removed from a thread.

public static GatewayEvent<GuildThreadUsersUpdateEventArgs> GuildThreadUsersUpdate { get; }

Property Value

GatewayEvent<GuildThreadUsersUpdateEventArgs>

Remarks


Required Intents: Guilds, GuildUsers*
Optional Intents:

  • GuildUsers For receiving this event when other users are added / removed, otherwise this event will only fire for the bot's user.


*Must also be enabled in the developer portal.

GuildUpdate

Sent when a guild is updated. The inner payload is a Guild object.

public static GatewayEvent<Guild> GuildUpdate { get; }

Property Value

GatewayEvent<Guild>

Remarks


Required Intents: Guilds
Optional Intents: None

GuildUserAdd

Sent when a new user joins a guild. The inner payload is a GuildUser object with an extra guild_id key.

public static GatewayEvent<GuildUser> GuildUserAdd { get; }

Property Value

GatewayEvent<GuildUser>

Remarks


Required Intents: GuildUsers*
Optional Intents: None

*Must also be enabled in the developer portal.

GuildUserChunk

Sent in response to RequestGuildUsersAsync(GuildUsersRequestProperties, WebSocketPayloadProperties?, CancellationToken). You can use the ChunkIndex and ChunkCount to calculate how many chunks are left for your request.

public static GatewayEvent<GuildUserChunkEventArgs> GuildUserChunk { get; }

Property Value

GatewayEvent<GuildUserChunkEventArgs>

Remarks


Required Intents: None
Optional Intents: None

GuildUserRemove

Sent when a user is removed from a guild (leave/kick/ban).

public static GatewayEvent<GuildUserRemoveEventArgs> GuildUserRemove { get; }

Property Value

GatewayEvent<GuildUserRemoveEventArgs>

Remarks


Required Intents: GuildUsers*
Optional Intents: None

*Must also be enabled in the developer portal.

GuildUserUpdate

Sent when a guild user is updated. This will also fire when the GuildUser object of a guild user changes.

public static GatewayEvent<GuildUser> GuildUserUpdate { get; }

Property Value

GatewayEvent<GuildUser>

Remarks


Required Intents: GuildUsers*
Optional Intents: None

*Must also be enabled in the developer portal.

InteractionCreate

Sent when a user uses an interaction. Inner payload is an Interaction.

public static GatewayEvent<Interaction> InteractionCreate { get; }

Property Value

GatewayEvent<Interaction>

Remarks


Required Intents: None
Optional Intents: None

InviteCreate

Sent when a new invite to a channel is created. Only sent if the bot has the ManageChannels permission for the relevant channel.

public static GatewayEvent<Invite> InviteCreate { get; }

Property Value

GatewayEvent<Invite>

Remarks


Required Intents: GuildInvites
Optional Intents: None

InviteDelete

Sent when an invite is deleted. Only sent if the bot has the ManageChannels permission for the relevant channel.

public static GatewayEvent<InviteDeleteEventArgs> InviteDelete { get; }

Property Value

GatewayEvent<InviteDeleteEventArgs>

Remarks


Required Intents: GuildInvites
Optional Intents: None

LatencyUpdate

public static GatewayEvent<TimeSpan> LatencyUpdate { get; }

Property Value

GatewayEvent<TimeSpan>

MessageCreate

Sent when a message is created. The inner payload is a message object with set GuildId, and Author fields.

public static GatewayEvent<Message> MessageCreate { get; }

Property Value

GatewayEvent<Message>

Remarks


Required Intents: GuildMessages, DirectMessages*
Optional Intents:

  • MessageContent For receiving Content, Embeds, Attachments and Embeds.
    This does not apply to:
    • Content in messages sent by the bot.
    • Content in DMs with the bot.
    • Content in which the bot is mentioned.
    • Content of messages a message context menu command is used on.


*Ephemeral messages do not use the guild channel. Because of this, they are tied to the DirectMessages intent, and the message object won't include a GuildId or Author.

MessageDelete

Sent when a message is deleted.

public static GatewayEvent<MessageDeleteEventArgs> MessageDelete { get; }

Property Value

GatewayEvent<MessageDeleteEventArgs>

Remarks


Required Intents: GuildMessages, DirectMessages
Optional Intents: None

MessageDeleteBulk

Sent when multiple messages are deleted at once.

public static GatewayEvent<MessageDeleteBulkEventArgs> MessageDeleteBulk { get; }

Property Value

GatewayEvent<MessageDeleteBulkEventArgs>

Remarks


Required Intents: GuildMessages
Optional Intents: None

MessagePollVoteAdd

public static GatewayEvent<MessagePollVoteEventArgs> MessagePollVoteAdd { get; }

Property Value

GatewayEvent<MessagePollVoteEventArgs>

MessagePollVoteRemove

public static GatewayEvent<MessagePollVoteEventArgs> MessagePollVoteRemove { get; }

Property Value

GatewayEvent<MessagePollVoteEventArgs>

MessageReactionAdd

Sent when a user adds a reaction to a message.

public static GatewayEvent<MessageReactionAddEventArgs> MessageReactionAdd { get; }

Property Value

GatewayEvent<MessageReactionAddEventArgs>

Remarks


Required Intents: GuildMessageReactions, DirectMessageReactions
Optional Intents: None

MessageReactionRemove

Sent when a user removes a reaction from a message.

public static GatewayEvent<MessageReactionRemoveEventArgs> MessageReactionRemove { get; }

Property Value

GatewayEvent<MessageReactionRemoveEventArgs>

Remarks


Required Intents: GuildMessageReactions, DirectMessageReactions
Optional Intents: None

MessageReactionRemoveAll

Sent when a user explicitly removes all reactions from a message.

public static GatewayEvent<MessageReactionRemoveAllEventArgs> MessageReactionRemoveAll { get; }

Property Value

GatewayEvent<MessageReactionRemoveAllEventArgs>

Remarks


Required Intents: GuildMessageReactions, DirectMessageReactions
Optional Intents: None

MessageReactionRemoveEmoji

Sent when a user removes all instances of a given emoji from the reactions of a message.

public static GatewayEvent<MessageReactionRemoveEmojiEventArgs> MessageReactionRemoveEmoji { get; }

Property Value

GatewayEvent<MessageReactionRemoveEmojiEventArgs>

Remarks


Required Intents: GuildMessageReactions, DirectMessageReactions
Optional Intents: None

MessageUpdate

Sent when a message is updated. The inner payload is a message object with set GuildId, and Author fields.

public static GatewayEvent<Message> MessageUpdate { get; }

Property Value

GatewayEvent<Message>

Remarks


Required Intents: GuildMessages, DirectMessages*
Optional Intents:

  • MessageContent For receiving Content, Embeds, Attachments and Embeds.
    This does not apply to:
    • Content in messages sent by the bot.
    • Content in DMs with the bot.
    • Content in which the bot is mentioned.
    • Content of messages a message context menu command is used on.


*Ephemeral messages do not use the guild channel. Because of this, they are tied to the DirectMessages intent, and the message object won't include a GuildId or Author.

PresenceUpdate

Sent when a user's presence or info, such as their name or avatar, is updated. Requires the GuildPresences intent. The user object within this event can be partial, with the ID being the only required field, everything else is optional. Along with this limitation, no fields are required, and the types of the fields are not validated. You should expect any combination of fields and types within this event.

public static GatewayEvent<Presence> PresenceUpdate { get; }

Property Value

GatewayEvent<Presence>

Remarks


Required Intents: GuildPresences*
Optional Intents: None

*Must also be enabled in the developer portal.

Ready

The ready event is dispatched when a client has completed the initial handshake with the Gateway (for new sessions). The ready event contains all the state required for a client to begin interacting with the rest of the platform.

public static GatewayEvent<ReadyEventArgs> Ready { get; }

Property Value

GatewayEvent<ReadyEventArgs>

Remarks

Required Intents: None
Optional Intents: None

Resume

public static GatewayEvent Resume { get; }

Property Value

GatewayEvent

RoleCreate

Sent when a guild role is created.

public static GatewayEvent<Role> RoleCreate { get; }

Property Value

GatewayEvent<Role>

Remarks


Required Intents: Guilds
Optional Intents: None

RoleDelete

Sent when a guild role is deleted.

public static GatewayEvent<RoleDeleteEventArgs> RoleDelete { get; }

Property Value

GatewayEvent<RoleDeleteEventArgs>

Remarks


Required Intents: Guilds
Optional Intents: None

RoleUpdate

Sent when a guild role is updated.

public static GatewayEvent<Role> RoleUpdate { get; }

Property Value

GatewayEvent<Role>

Remarks


Required Intents: Guilds
Optional Intents: None

StageInstanceCreate

Sent when a StageInstance is created (i.e. the Stage is now 'live'). Inner payload is a StageInstance.

public static GatewayEvent<StageInstance> StageInstanceCreate { get; }

Property Value

GatewayEvent<StageInstance>

Remarks


Required Intents: Guilds
Optional Intents: None

StageInstanceDelete

Sent when a StageInstance is deleted (i.e. the Stage has been closed). Inner payload is a StageInstance.

public static GatewayEvent<StageInstance> StageInstanceDelete { get; }

Property Value

GatewayEvent<StageInstance>

Remarks


Required Intents: Guilds
Optional Intents: None

StageInstanceUpdate

Sent when a StageInstance is updated. Inner payload is a StageInstance.

public static GatewayEvent<StageInstance> StageInstanceUpdate { get; }

Property Value

GatewayEvent<StageInstance>

Remarks


Required Intents: Guilds
Optional Intents: None

SubscriptionCreate

Sent when a Subscription for a Premium App is created. Inner payload is a Subscription object.

public static GatewayEvent<Subscription> SubscriptionCreate { get; }

Property Value

GatewayEvent<Subscription>

Remarks

Status can be either Inactive or Inactive when this event is received. You will receive subsequent SubscriptionUpdate events if the status is updated to active. As a best practice, you should not grant any perks to users until the entitlements are created.
Required Intents: None
Optional Intents: None

SubscriptionDelete

Sent when a Subscription for a Premium App has been deleted. Inner payload is a Subscription object.

public static GatewayEvent<Subscription> SubscriptionDelete { get; }

Property Value

GatewayEvent<Subscription>

Remarks


Required Intents: None
Optional Intents: None

SubscriptionUpdate

Sent when a subscription for a Premium App has been updated. Inner payload is a Subscription object.

public static GatewayEvent<Subscription> SubscriptionUpdate { get; }

Property Value

GatewayEvent<Subscription>

Remarks


Required Intents: None
Optional Intents: None

TypingStart

Sent when a user starts typing in a channel, and fires again every 10 seconds while they continue typing.

public static GatewayEvent<TypingStartEventArgs> TypingStart { get; }

Property Value

GatewayEvent<TypingStartEventArgs>

Remarks


Required Intents: GuildMessageTyping, DirectMessageTyping
Optional Intents: None

UnknownEvent

An unknown event.

public static GatewayEvent<UnknownEventEventArgs> UnknownEvent { get; }

Property Value

GatewayEvent<UnknownEventEventArgs>

VoiceChannelEffectSend

Sent when someone sends an effect, such as an emoji reaction or a soundboard sound, in a voice channel the current user is connected to. Inner payload is a VoiceChannelEffectSendEventArgs object.

public static GatewayEvent<VoiceChannelEffectSendEventArgs> VoiceChannelEffectSend { get; }

Property Value

GatewayEvent<VoiceChannelEffectSendEventArgs>

Remarks


Required Intents: GuildVoiceStates
Optional Intents: None

VoiceServerUpdate

Sent when a guild's voice server is updated. This is sent when initially connecting to voice, and when the current voice instance fails over to a new server.

public static GatewayEvent<VoiceServerUpdateEventArgs> VoiceServerUpdate { get; }

Property Value

GatewayEvent<VoiceServerUpdateEventArgs>

Remarks


Required Intents: None
Optional Intents: None

VoiceStateUpdate

Sent when someone joins/leaves/moves voice channels. Inner payload is a VoiceState object.

public static GatewayEvent<VoiceState> VoiceStateUpdate { get; }

Property Value

GatewayEvent<VoiceState>

Remarks


Required Intents: GuildVoiceStates
Optional Intents: None

WebhooksUpdate

Sent when a guild channel's webhook is created, updated, or deleted.

public static GatewayEvent<WebhooksUpdateEventArgs> WebhooksUpdate { get; }

Property Value

GatewayEvent<WebhooksUpdateEventArgs>

Remarks


Required Intents: GuildWebhooks
Optional Intents: None