From 2fa47180fb09ecddb6170e95ea7cf7873c24ee09 Mon Sep 17 00:00:00 2001 From: DrBot7 <46543473+DrBot7@users.noreply.github.com> Date: Thu, 14 Jan 2021 16:57:28 -0600 Subject: [PATCH] Timings - Fix timings link typos --- cogs/timings_public.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cogs/timings_public.py b/cogs/timings_public.py index b8b86fa..b7c4c0f 100644 --- a/cogs/timings_public.py +++ b/cogs/timings_public.py @@ -28,6 +28,8 @@ class Timings(commands.Cog): embed_var.set_footer(text="Requested by " + message.author.name, icon_url=message.author.avatar_url) for word in words: + if word.startswith("https://timings.") and "/d=" in word: + word.replace("/d=", "/?id=") if word.startswith("https://timings.") and "/?id=" in word: timings_url = word embed_var.url = timings_url