Skip to content

Commit a95e2ac

Browse files
Update socialstalk.py
1 parent 9c54c99 commit a95e2ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fun/socialstalk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ async def github_stalk(_, message: Message):
173173
photo=data.get("avatar_url", "").replace("?v=4", ""),
174174
caption=f"</b>GitHub Profile:</b>\n"
175175
f"</b>Name:</b> {data.get('name', 'N/A')}\n"
176-
f"</b>Username:</b> {data.get('username', 'N/A')}\n"
176+
f"</b>Username:</b> {data.get('login', 'N/A')}\n"
177177
f"</b>Bio:</b> {data.get('bio', 'N/A')}\n"
178178
f"</b>Public Repositories:</b> <a href='{data.get('repos_url', '')}'>{data.get('public_repos', 'N/A')}</a>\n"
179179
f"</b>Public Gists:</b> <a href='{data.get('gists_url', '')}'>{data.get('public_gists', 'N/A')}</a>\n"

0 commit comments

Comments
 (0)