getLatency method
Sends a ping/pong to the APi websocket of discord and returns the latency
Example :
final int latency = client.getLatency();
Implementation
int getLatency () {
return ioc.use<ShardManager>().getLatency();
}
Sends a ping/pong to the APi websocket of discord and returns the latency
Example :
final int latency = client.getLatency();
int getLatency () {
return ioc.use<ShardManager>().getLatency();
}