From cedb284adce2f6d558ac198add1803aa85caccd9 Mon Sep 17 00:00:00 2001 From: Stijn De Clercq Date: Tue, 15 Jun 2021 01:19:36 +0200 Subject: [PATCH] Fix ping route --- cogs/ipc.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cogs/ipc.py b/cogs/ipc.py index de29a2b..1e3c394 100644 --- a/cogs/ipc.py +++ b/cogs/ipc.py @@ -14,11 +14,12 @@ class IPC(commands.Cog): return True @ipc.server.route() - async def get_bot_latency(self): + async def get_bot_latency(self, data): """ Get Didier's latency """ - return str(round(self.client.latency * 1000)) + + return self.client.latency * 1000 def setup(client):