Browse Source

Timings - Versions

pull/14/head
DrBot7 4 years ago
parent
commit
07ead28591
  1. 6
      cogs/timings.py
  2. 4
      cogs/timings_check.yml

6
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:

4
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: |-

Loading…
Cancel
Save