Table of Contents

Method GetConnectionLatency

Namespace
DSharpPlus.Clients
Assembly
DSharpPlus.dll

GetConnectionLatency(ulong)

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

public TimeSpan GetConnectionLatency(ulong _)

Parameters

_ ulong

Returns

TimeSpan

GetConnectionLatency(int)

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

public TimeSpan GetConnectionLatency(int _)

Parameters

_ int

Returns

TimeSpan