From 7b3b4ed8563e8ea75680bc4e569751f946d0178b Mon Sep 17 00:00:00 2001 From: DrBot7 <46543473+DrBot7@users.noreply.github.com> Date: Wed, 3 Feb 2021 15:30:16 -0600 Subject: [PATCH] Timings - typo and small adjustments --- cogs/timings.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cogs/timings.py b/cogs/timings.py index ade2efd..b1fa4f0 100644 --- a/cogs/timings.py +++ b/cogs/timings.py @@ -144,13 +144,13 @@ class Timings(commands.Cog): players = (player_ticks / timed_ticks) max_online_players = max(players, max_online_players) index = index + 1 - if 1000 * max_online_players / int(max_mem) > 5 and int(max_mem) < 15000: - if max_online_players < 60: + if 1000 * max_online_players / int(max_mem) > 5 and int(max_mem) < 12000: + if max_online_players < 80: embed_var.add_field(name="❌ Low memory", value="You should be using more RAM with this many players.") else: embed_var.add_field(name="❌ Low memory", - value="You should be using more RAM this this many players. Consider getting a dedicated server.") + value="You should be using more RAM with this many players. Consider getting a dedicated server.") if "-Xms" in flags: min_mem = 0