aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2021-02-10 01:07:54 +0000
committerGravatar Joe Banks <[email protected]>2021-02-10 01:07:54 +0000
commit578a0e48514fd9f902cde45db557fa1f3425c289 (patch)
tree65d1118034a7eed38eb96bd3d0fda134f78d8193
parentMigrate API utilities to use internal DNS routing (diff)
Migrate ping command to ping internal API
-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 572fc934b..e62811b91 100644
--- a/bot/exts/utils/ping.py
+++ b/bot/exts/utils/ping.py
@@ -37,7 +37,7 @@ class Latency(commands.Cog):
bot_ping = f"{bot_ping:.{ROUND_LATENCY}f} ms"
try:
- delay = await aioping.ping(URLs.site, family=socket.AddressFamily.AF_INET) * 1000
+ delay = await aioping.ping(URLs.site_api, family=socket.AddressFamily.AF_INET) * 1000
site_ping = f"{delay:.{ROUND_LATENCY}f} ms"
except TimeoutError: