From 44f75228c282c9118c719c0f3ebe99d4f8a176a3 Mon Sep 17 00:00:00 2001 From: nex Date: Sun, 24 Dec 2023 00:15:36 +0000 Subject: [PATCH] Prefer Google-chrome bin --- cogs/other.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/cogs/other.py b/cogs/other.py index c25043b..c0a9532 100644 --- a/cogs/other.py +++ b/cogs/other.py @@ -229,7 +229,7 @@ class OtherCog(commands.Cog): "/usr/bin/firefox-esr", "/usr/bin/firefox", ], - "chrome": ["/usr/bin/chromium", "/usr/bin/chrome", "/usr/bin/chrome-browser", "/usr/bin/google-chrome"], + "chrome": ["/usr/bin/chromium", "/usr/bin/google-chrome"], } selected_driver = driver arr = drivers.pop(selected_driver) @@ -844,12 +844,7 @@ class OtherCog(commands.Cog): f"* URL: <{friendly_url}>\n" f"* Load time: {fetch_time:.2f}ms\n" f"* Screenshot render time: {screenshot_time:.2f}ms\n" - f"* Total time: {(fetch_time + screenshot_time):.2f}ms\n" - + ( - "* Probability of being scat or something else horrifying: 100%" - if ctx.user.id == 1019233057519177778 - else "" - ), + f"* Total time: {(fetch_time + screenshot_time):.2f}ms" file=screenshot, )