Skip to content

Commit a7817f0

Browse files
committed
Move avatar to constant
1 parent b093997 commit a7817f0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pydis_core/exts/source.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
from pydis_core import BotBase as Bot
1313

1414

15+
GITHUB_AVATAR = "https://avatars1.githubusercontent.com/u/9919"
16+
1517
class _TagIdentifierStub(NamedTuple):
1618
"""A minmally functioning stub representing a tag identifier."""
1719

@@ -63,7 +65,7 @@ async def source_command(
6365
if not source_item:
6466
embed = Embed(title=f"{self.bot.user.name}'s GitHub Repository")
6567
embed.add_field(name="Repository", value=f"[Go to GitHub]({self.github_repo})")
66-
embed.set_thumbnail(url="https://avatars1.githubusercontent.com/u/9919")
68+
embed.set_thumbnail(url=GITHUB_AVATAR)
6769
await ctx.send(embed=embed)
6870
return
6971

0 commit comments

Comments
 (0)