fix(speedtest): adding a debugging statement

This commit is contained in:
Seaswimmer 2024-05-25 18:12:45 -04:00
parent cba25d1f94
commit 94b692a705
Signed by untrusted user: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -71,7 +71,7 @@ class Speedtest(commands.Cog):
await msg.edit(content=f"An error occurred! \n`{speedtest}`") await msg.edit(content=f"An error occurred! \n`{speedtest}`")
return return
await msg.edit(content=f"**Speedtest Results**\n" await msg.edit(content=f"**Speedtest Results**\n"
f"**Bandwidth**: {speedtest.download.mbps:,.2f} Mbps down, {speedtest.download.mbps:,.2f} Mbps up\n" f"**Bandwidth**: {speedtest.download.mbps:,.2f} Mbps down ({speedtest.download.bandwidth}), {speedtest.download.mbps:,.2f} Mbps up\n"
f"**Ping**: Base: {round(speedtest.ping.latency)} ms\n" f"**Ping**: Base: {round(speedtest.ping.latency)} ms\n"
f"Download: {round(speedtest.download.latency.iqm)} ms\n" f"Download: {round(speedtest.download.latency.iqm)} ms\n"
f"Upload: {round(speedtest.upload.latency.iqm)} ms\n" f"Upload: {round(speedtest.upload.latency.iqm)} ms\n"