From 07ead28591f638667f1e4038875a2f4bbb50861a Mon Sep 17 00:00:00 2001 From: DrBot7 <46543473+DrBot7@users.noreply.github.com> Date: Thu, 14 Jan 2021 04:47:54 -0600 Subject: [PATCH] Timings - Versions --- cogs/timings.py | 6 +++--- cogs/timings_check.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cogs/timings.py b/cogs/timings.py index a8e8b54..f85514c 100644 --- a/cogs/timings.py +++ b/cogs/timings.py @@ -62,11 +62,11 @@ class Timings(commands.Cog): unchecked = 0 try: try: - version = request["timingsMaster"]["version"].lower() + version = request["timingsMaster"]["version"] if "version" in TIMINGS_CHECK: - if TIMINGS_CHECK["version"] not in version: + if TIMINGS_CHECK["version"] not in version and "1.16.5" not in version: embed_var.add_field(name="❌ Legacy Build", - value="Update to " + TIMINGS_CHECK["version"]) + value="You are using " + version + ". Update to " + TIMINGS_CHECK["version"]) if "servers" in TIMINGS_CHECK: for server in TIMINGS_CHECK["servers"]: if server["name"] in version: diff --git a/cogs/timings_check.yml b/cogs/timings_check.yml index 894203a..f669044 100644 --- a/cogs/timings_check.yml +++ b/cogs/timings_check.yml @@ -7,12 +7,12 @@ # wake_up_inactive_monsters_every = int(spigot["world-settings"]["default"]["entity-activation-range"]["wake-up-inactive"]["monsters-every"]) version: "1.16.4" servers: -- name: "yatopia" +- name: "Yatopia" prefix: "❌" value: |- Yatopia is prone to bugs. Consider using [Purpur](https://ci.pl3x.net/job/Purpur/). -- name: "paper" +- name: "Paper" prefix: "||❌" suffix: "||" value: |-