Skip to content

Commit

Permalink
feat: move link for PEP to title in !pep command (#2723)
Browse files Browse the repository at this point in the history
  • Loading branch information
DownDev committed Aug 19, 2023
1 parent f59244f commit 4f4eef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/exts/info/pep.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def generate_pep_embed(self, pep_header: dict, pep_nr: int) -> Embed:
# 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)
Expand Down

0 comments on commit 4f4eef6

Please sign in to comment.