mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 01:53:39 +01:00
just remove floats from the ping endpoint
This commit is contained in:
parent
09542ab7b3
commit
c2fc8037ab
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ def ping():
|
||||||
return {
|
return {
|
||||||
"ping": "pong",
|
"ping": "pong",
|
||||||
"online": app.state.bot.is_ready(),
|
"online": app.state.bot.is_ready(),
|
||||||
"latency": max(round(app.state.bot.latency, 2), 0.01),
|
"latency": max(round(app.state.bot.latency), 1),
|
||||||
"uptime": max(round(bot_started.total_seconds(), 2), 1),
|
"uptime": max(round(bot_started.total_seconds(), 2), 1),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue