Fix ping route

pull/72/head
Stijn De Clercq 2021-06-15 01:19:36 +02:00
parent b37755f512
commit cedb284adc
1 changed files with 3 additions and 2 deletions

View File

@ -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):