From 5af2addbdfe8954d8a784045a74f267bd49d43d8 Mon Sep 17 00:00:00 2001 From: DrBot7 <46543473+DrBot7@users.noreply.github.com> Date: Fri, 15 Jan 2021 04:24:06 -0600 Subject: [PATCH] Timings - Remove redundant parts from version --- cogs/timings_public.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cogs/timings_public.py b/cogs/timings_public.py index 14ec37e..fbd60ad 100644 --- a/cogs/timings_public.py +++ b/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: