DrBot7
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
cogs/timings.py
|
@ -51,14 +51,14 @@ class Timings(commands.Cog): |
|
|
|
|
|
|
|
|
try: |
|
|
try: |
|
|
version = r["timingsMaster"]["version"] |
|
|
version = r["timingsMaster"]["version"] |
|
|
using_yatopia = "yatopia" in r["timingsMaster"]["config"] |
|
|
|
|
|
if "1.16.4" not in version: |
|
|
if "1.16.4" not in version: |
|
|
embed_var.add_field(name="⚠ Legacy Build", |
|
|
embed_var.add_field(name="⚠ Legacy Build", |
|
|
value="Update to 1.16.4.", |
|
|
value="Update to 1.16.4.", |
|
|
inline=True) |
|
|
inline=True) |
|
|
|
|
|
using_yatopia = "yatopia" in r["timingsMaster"]["config"] |
|
|
if using_yatopia: |
|
|
if using_yatopia: |
|
|
embed_var.add_field(name="⚠ Yatopia", |
|
|
embed_var.add_field(name="⚠ Yatopia", |
|
|
value="Yatopia may be is prone to bugs. " |
|
|
|
|
|
|
|
|
value="Yatopia is prone to bugs. " |
|
|
"Consider using [Purpur](https://ci.pl3x.net/job/Purpur/).", |
|
|
"Consider using [Purpur](https://ci.pl3x.net/job/Purpur/).", |
|
|
inline=True) |
|
|
inline=True) |
|
|
elif "Paper" in version: |
|
|
elif "Paper" in version: |
|
|