aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Xithrius <[email protected]>2020-09-21 19:20:26 -0700
committerGravatar GitHub <[email protected]>2020-09-21 19:20:26 -0700
commitb8747d69568feff3900cd4ffda2755d9f101c65f (patch)
tree1427c9ebb6dae83f5adf9a86f18ae18e4198f432
parentDescription renamed to avoid verbosity. (diff)
Comment updated from "microseconds" to "seconds"
Co-authored-by: Dennis Pham <[email protected]>
-rw-r--r--bot/exts/utils/ping.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utils/ping.py b/bot/exts/utils/ping.py
index f2faa11ca..f26817159 100644
--- a/bot/exts/utils/ping.py
+++ b/bot/exts/utils/ping.py
@@ -30,7 +30,7 @@ class Latency(commands.Cog):
Returns bot, Python Discord Site, Discord Protocol latency.
"""
# datetime.datetime objects do not have the "milliseconds" attribute.
- # It must be converted to microseconds before converting to milliseconds.
+ # It must be converted to seconds before converting to milliseconds.
bot_ping = (datetime.utcnow() - ctx.message.created_at).total_seconds() / 1000
bot_ping = f"{round(bot_ping, ROUND_LATENCY)} ms"