Method GetConnectionLatency
- Namespace
- DSharpPlus.Clients
- Assembly
- DSharpPlus.dll
GetConnectionLatency(int)
Gets the connection latency specific to a shard, otherwise known as ping.
public TimeSpan GetConnectionLatency(int shardId)
Parameters
shardId
int
Returns
GetConnectionLatency(ulong)
Gets the connection latency to a specific guild, otherwise known as ping.
public TimeSpan GetConnectionLatency(ulong guildId)
Parameters
guildId
ulong