aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/githubinfo.py
diff options
context:
space:
mode:
authorGravatar Lakshya Shastri <[email protected]>2020-10-09 23:35:40 +0530
committerGravatar Lakshya Shastri <[email protected]>2020-10-09 23:35:40 +0530
commit6c9162deecebb21f3925276a474d2e295877a665 (patch)
tree05c5cf60f56206ee5088b7c46ba8f629b415a8f9 /bot/exts/evergreen/githubinfo.py
parentmade code more consistent (diff)
blog link shows the link itself
Diffstat (limited to 'bot/exts/evergreen/githubinfo.py')
-rw-r--r--bot/exts/evergreen/githubinfo.py4
1 files changed, 2 insertions, 2 deletions
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"