aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MikoĊ‚aj Kruczek <[email protected]>2023-08-19 16:13:14 +0200
committerGravatar GitHub <[email protected]>2023-08-19 14:13:14 +0000
commit4f4eef6c1701b844a4bb1bc21e6de2b53aa72843 (patch)
tree434f73e2b1204e01836d76814b2deab809233c17
parentBump ruff from 0.0.284 to 0.0.285 (#2725) (diff)
feat: move link for PEP to title in !pep command (#2723)
-rw-r--r--bot/exts/info/pep.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/info/pep.py b/bot/exts/info/pep.py
index 5f9a41091..3854d02d5 100644
--- a/bot/exts/info/pep.py
+++ b/bot/exts/info/pep.py
@@ -100,7 +100,7 @@ class PythonEnhancementProposals(Cog):
# Assemble the embed
pep_embed = Embed(
title=f"**PEP {pep_nr} - {title}**",
- description=f"[Link]({BASE_PEP_URL}{pep_nr:04})",
+ url=f"{BASE_PEP_URL}{pep_nr:04}",
)
pep_embed.set_thumbnail(url=ICON_URL)