ping: make stuff more consistent
This commit is contained in:
parent
4d27ab9af5
commit
4e1f59f3fc
1 changed files with 3 additions and 1 deletions
|
@ -58,7 +58,9 @@ class Basic:
|
|||
rtt_ms = (after - before) * 1000
|
||||
gw_ms = self.bot.latency * 1000
|
||||
|
||||
message_text = f":ping_pong: rtt: `{rtt_ms:.1f}ms`, `gw: {gw_ms:.1f}ms`"
|
||||
message_text = f":ping_pong:\n"\
|
||||
f"rtt: `{rtt_ms:.1f}ms`\n"\
|
||||
f"gw: `{gw_ms:.1f}ms`"
|
||||
self.bot.log.info(message_text)
|
||||
await tmp.edit(content=message_text)
|
||||
|
||||
|
|
Loading…
Reference in a new issue