fixed ping command

This commit is contained in:
2020-09-30 18:36:14 +02:00
parent 23ac6009c6
commit 25994fb92f

View File

@@ -28,7 +28,7 @@ class ServerStatus(commands.Cog):
try:
# Online
latency = f":green_circle: Server replied in {minecraftServer.ping()}ms."
except ConnectionRefusedError:
except:
# Offline
upCounter -= 1
latency = ":red_circle: Server is offline."