Skip to content

Commit fdb10c7

Browse files
committed
Add github icon to source footer
1 parent 0644686 commit fdb10c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pydis_core/exts/source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,6 @@ async def _build_embed(self, source_object: object, source_type: _SourceType) ->
164164
embed = Embed(title=title, description=description)
165165
embed.add_field(name="Source Code", value=f"[Go to GitHub]({url})")
166166
line_text = f":{first_line}" if first_line else ""
167-
embed.set_footer(text=f"{location}{line_text}")
167+
embed.set_footer(text=f"{location}{line_text}", icon_url=GITHUB_AVATAR)
168168

169169
return embed

0 commit comments

Comments
 (0)