Table of Contents

Class LoggerEvents

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

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

public static class LoggerEvents
Inheritance
LoggerEvents
Inherited Members

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.

Library

Events is library side.

Misc

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

OAuthRest

Events pertaining to API requests from the DiscordOAuth2Client.

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 preemptively blocked.

RestCleaner

Event is rest cleaner.

RestError

Events emitted when REST processing fails for any reason.

RestHashMover

Event is rest hash mover.

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.