Browse Source

Timings - Remove redundant parts from version

pull/15/merge
DrBot7 4 years ago
parent
commit
5af2addbdf
  1. 1
      cogs/timings_public.py

1
cogs/timings_public.py

@ -71,6 +71,7 @@ class Timings(commands.Cog):
version_result = version_result.group() if version_result else None
if version_result:
if compare_versions(version_result, TIMINGS_CHECK["version"]) == -1:
version = version.replace("git-", "").replace("MC:", "")
embed_var.add_field(name="❌ Legacy Build",
value=f'You are using `{version}`. Update to `{TIMINGS_CHECK["version"]}`')
else:

Loading…
Cancel
Save