mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 15:48:29 +02:00
Fix ping route
This commit is contained in:
parent
b37755f512
commit
cedb284adc
1 changed files with 3 additions and 2 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue