aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Soumitra Shewale <[email protected]>2020-10-02 17:56:25 +0530
committerGravatar GitHub <[email protected]>2020-10-02 17:56:25 +0530
commit2758d44746b2de0c15a3823f3da024c083aa9a36 (patch)
tree2df10d7af59fbc379718e9c84feb36bca3454e83
parentGet rid of codeblock in souce commit (diff)
parentPR #1206 PEPs: move URL link to title (diff)
Merge branch 'master' into source_escape_markdown
-rw-r--r--bot/exts/utils/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/utils/utils.py b/bot/exts/utils/utils.py
index 6b6941064..3e9230414 100644
--- a/bot/exts/utils/utils.py
+++ b/bot/exts/utils/utils.py
@@ -84,7 +84,7 @@ class Utils(Cog):
# Assemble the embed
pep_embed = Embed(
title=f"**PEP {pep_number} - {pep_header['Title']}**",
- description=f"[Link]({self.base_pep_url}{pep_number:04})",
+ url=f"{self.base_pep_url}{pep_number:04}"
)
pep_embed.set_thumbnail(url=ICON_URL)
@@ -250,7 +250,7 @@ class Utils(Cog):
"""Send information about PEP 0."""
pep_embed = Embed(
title="**PEP 0 - Index of Python Enhancement Proposals (PEPs)**",
- description="[Link](https://www.python.org/dev/peps/)"
+ url="https://www.python.org/dev/peps/"
)
pep_embed.set_thumbnail(url=ICON_URL)
pep_embed.add_field(name="Status", value="Active")