Browse Source

Fix version check

pull/1/head
elliot 3 years ago
parent
commit
764d47f3cf
  1. 2
      cogs/timings.py

2
cogs/timings.py

@ -83,7 +83,7 @@ class Timings(commands.Cog):
if version_result:
if compare_versions(version_result, TIMINGS_CHECK["version"]) == -1:
version = version.replace("git-", "").replace("MC: ", "")
embed_var.add_field(name="❌ Outdated",value=f"You are using `{version}`, you should update to `{TIMINGS_CHECK["version"]}`.")
embed_var.add_field(name="❌ Outdated", value=f'You are using `{version}`. Update to `{TIMINGS_CHECK["version"]}`.')
else:
embed_var.add_field(name="❗ Value Error",
value=f'Could not locate version from `{version}`')

Loading…
Cancel
Save