fix latency being nanoseconds
This commit is contained in:
parent
3a92ba3b99
commit
8060430754
1 changed files with 1 additions and 1 deletions
|
@ -6,4 +6,4 @@ class LatencyModule(niobot.Module):
|
||||||
async def latency(self, ctx: niobot.Context):
|
async def latency(self, ctx: niobot.Context):
|
||||||
"""See the bot's latency."""
|
"""See the bot's latency."""
|
||||||
latency = ctx.latency
|
latency = ctx.latency
|
||||||
return await ctx.respond("Latency: {:.2f}ms".format(latency * 1000))
|
return await ctx.respond("Latency: {:,.2f}ms".format(latency))
|
||||||
|
|
Loading…
Reference in a new issue