Table of Contents

Namespace DSharpPlus.Clients

Classes

DefaultEventDispatcher

The default DSharpPlus event dispatcher, dispatching events asynchronously and using a shared scope. Catch-all event handlers referencing DiscordEventArgs are supported.

DiscordRestApiClientFactory

Provides a way to get access to either the current application's REST client or OAuth2-based REST clients.

EventWaiter<T>

Provides a mechanism to wait for an instance of an event matching the specified condition.

MultiShardOrchestrator

Orchestrates multiple shards within this process.

NullShardOrchestrator

Dummy orchestrator that does nothing. Useful for http interaction only clients.

OAuth2DiscordClient

Represents a thin client to serve as the base for OAuth2 usage.

ShardingOptions

Contains configuration options for sharding within DSharpPlus.

SingleShardOrchestrator

Orchestrates a single "shard".

Structs

EventWaiterResult<T>

Represents either the received event or an indication that the event waiter timed out.

Interfaces

IEventDispatcher

Represents a service dispatching events to registered event handlers.

IShardOrchestrator

Represents a mechanism for orchestrating one or more shards in one or more processes.