mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2024-12-23 07:15:34 +00:00
ping: make stuff more consistent
This commit is contained in:
parent
4d27ab9af5
commit
4e1f59f3fc
|
@ -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