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 () {
ShardManager manager = ioc.singleton(Service.shards);
return manager.getLatency();
}