add latency to ping command
This commit is contained in:
parent
bb6e5d2e8d
commit
0fcbc8af21
1 changed files with 1 additions and 1 deletions
|
@ -372,7 +372,7 @@ async def admin_eval(ctx, *, body: str):
|
|||
|
||||
@bot.command()
|
||||
async def ping(ctx):
|
||||
await ctx.send("Pong")
|
||||
await ctx.send(f"Pong!\nLatency: {bot.latency*1000:.1f}ms")
|
||||
|
||||
|
||||
@bot.command()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue