mirror of https://github.com/stijndcl/didier
Fix ping route
parent
b37755f512
commit
cedb284adc
|
@ -14,11 +14,12 @@ class IPC(commands.Cog):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
@ipc.server.route()
|
@ipc.server.route()
|
||||||
async def get_bot_latency(self):
|
async def get_bot_latency(self, data):
|
||||||
"""
|
"""
|
||||||
Get Didier's latency
|
Get Didier's latency
|
||||||
"""
|
"""
|
||||||
return str(round(self.client.latency * 1000))
|
|
||||||
|
return self.client.latency * 1000
|
||||||
|
|
||||||
|
|
||||||
def setup(client):
|
def setup(client):
|
||||||
|
|
Loading…
Reference in New Issue