Browse Source
Fix unnecessary space in legacy build version
pull/15/merge
Purpur
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
cogs/timings_public.py
|
|
@ -70,7 +70,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:", "") |
|
|
|
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: |
|
|
|