Table of Contents

Class LoggerEvents

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

Contains well-defined event IDs used by core of DSharpPlus.

public static class LoggerEvents
Inheritance
LoggerEvents

Properties

AuditLog

Events pertaining to audit log processing.

ConnectionClose

Events pertaining to clean connection closes.

ConnectionFailure

Events typically emitted whenever WebSocket connections fail or are terminated.

EventHandlerException

Events emitted when exceptions are thrown in handlers attached to async events.

GatewayWsRx

Events containing raw (but decompressed) payloads, received from Discord Gateway.

GatewayWsTx

Events containing raw payloads, as they're being sent to Discord Gateway.

Heartbeat

Events pertaining to connection lifecycle, specifically, heartbeats.

HeartbeatFailure

Events pertaining to various heartbeat failures, typically fatal.

Intents

Events pertaining to Gateway Intents. Typically diagnostic information.

Misc

Miscellaneous events, that do not fit in any other category.

RatelimitDiag

Events pertaining to ratelimit diagnostics. Typically contain raw bucket info.

RatelimitHit

Events pertaining to ratelimit exhaustion.

RatelimitPreemptive

Events emitted when a ratelimit is exhausted and a request is preemtively blocked.

RestCleaner
RestError

Events emitted when REST processing fails for any reason.

RestHashMover
RestRx

Events containing raw payloads, as they're received from Discord's REST API.

RestTx

Events containing raw payloads, as they're sent to Discord's REST API.

SessionUpdate

Events pertaining to Discord-issued session state updates.

ShardClientError

Events pertaining to the DiscordShardedClient's shards not initializing correctly.

ShardRest

Events pertaining to Discord API requests from the DiscordShardedClient.

ShardShutdown

Events pertaining to autosharded client shard shutdown, clean or otherwise.

ShardStartup

Events pertaining to the DiscordShardedClient shard startup.

Startup

Events pertaining to startup tasks.

WebSocketReceive

Events emitted for various high-level WebSocket receive events.

WebSocketReceiveFailure

Events emitted for various WebSocket payload processing failures, typically when deserialization or decoding fails.

WebSocketReceiveRaw

Events emitted for various low-level WebSocket receive events.

WebSocketSendRaw

Events emitted for various low-level WebSocket send events.