Update pingtime.py

This commit is contained in:
aikaterna
2018-05-03 17:45:36 -07:00
committed by GitHub
parent dad4e02ada
commit 1e956bb79f

View File

@@ -11,7 +11,7 @@ class Pingtime:
async def pingtime(self, ctx):
"""Ping pong."""
latencies = self.bot.latencies
msg = "Pong!\n"
for shard, pingt in latencies:
msg = "Pong!\n"
msg += "Shard {}/{}: {}ms\n".format(shard + 1, len(latencies), round(pingt*1000))
await ctx.send(msg)