From 6c9162deecebb21f3925276a474d2e295877a665 Mon Sep 17 00:00:00 2001 From: Lakshya Shastri Date: Fri, 9 Oct 2020 23:35:40 +0530 Subject: blog link shows the link itself --- bot/exts/evergreen/githubinfo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bot/exts/evergreen/githubinfo.py') diff --git a/bot/exts/evergreen/githubinfo.py b/bot/exts/evergreen/githubinfo.py index f52454ba..b66512b3 100644 --- a/bot/exts/evergreen/githubinfo.py +++ b/bot/exts/evergreen/githubinfo.py @@ -57,9 +57,9 @@ class GithubInfo(commands.Cog): # Forming blog link if user_data['blog'].startswith("http"): # Blog link is complete - blog = f"[Direct link]({user_data['blog']})" + blog = user_data['blog'] elif user_data['blog']: # Blog exists but the link is not complete - blog = f"[Direct link](https://{user_data['blog']})" + blog = f"https://{user_data['blog']}" else: blog = "No blog link available" -- cgit v1.2.3