Table of Contents

Class NullShardOrchestrator

Namespace
DSharpPlus.Clients
Assembly
DSharpPlus.dll

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

public sealed class NullShardOrchestrator : IShardOrchestrator
Inheritance
object
NullShardOrchestrator
Implements

Properties

AllShardsConnected

Indicates whether all shards are connected.

ConnectedShardCount

Gets the amount of shards handled by this orchestrator.

TotalShardCount

Gets the total amount of shards connected to this bot.

Methods

BroadcastOutboundEventAsync(byte[])

Sends an outbound event to Discord on all shards.

GetConnectionLatency(ulong)

Gets the connection latency to a specific guild, otherwise known as ping.

IsConnected(ulong)

Indicates whether the bot's connection to the given guild is functional.

ReconnectAsync()

Reconnects all shards associated with this orchestrator.

SendOutboundEventAsync(byte[], ulong)

Sends an outbound event to Discord.

StartAsync(DiscordActivity?, DiscordUserStatus?, DateTimeOffset?)

Starts all shards associated with this orchestrator.

StopAsync()

Stops all shards associated with this orchestrator.