Skip to content

Commit 9713cfe

Browse files
committed
add comment for clarity
1 parent a8cded7 commit 9713cfe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bot/exts/utilities/githubinfo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def build_embed(self, repo_data: dict) -> discord.Embed:
325325
colour=discord.Colour.og_blurple(),
326326
url=repo_data["html_url"]
327327
)
328-
328+
# if its a fork it will have a parent key
329329
try:
330330
parent = repo_data["parent"]
331331
embed.description += f"\n\nForked from [{parent['full_name']}]({parent['html_url']})"

0 commit comments

Comments
 (0)