Skip to content

Commit

Permalink
Fix ping command's markdown (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
FasterSpeeding authored May 1, 2024
1 parent 5bad2df commit 460200f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reinhard/components/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ async def ping(ctx: tanjun.abc.Context, /) -> None:
time_taken = (time.perf_counter() - start_time) * 1_000
heartbeat_latency = ctx.shards.heartbeat_latency * 1_000 if ctx.shards else float("NAN")
await ctx.respond(
f"PONG\n - REST: {time_taken:.0f}ms\n - Gateway: {heartbeat_latency:.0f}ms", component=buttons.delete_row(ctx)
f"PONG\n- REST: {time_taken:.0f}ms\n- Gateway: {heartbeat_latency:.0f}ms", component=buttons.delete_row(ctx)
)


Expand Down

0 comments on commit 460200f

Please sign in to comment.